Consider only assigning animation styles after the page has fully loaded #13925
Labels
General Interface
Parts of the UI which don't fall neatly under other labels.
[Type] Bug
An existing feature does not function as intended
Describe the bug
Currently, some animation styles are set to trigger as soon as their element first appears. For example:
body
is set to fade in immediately.These animations were mostly designed to occur after the user performs an action. The fullscreen fade was to happen when someone toggles fullscreen, and the sidebar was meant to animate in when it's toggled open.
Because of the way these are built, they also trigger upon the initial page load. They're both quick animations, so it's a major problem, but we should consider adjusting these animations so that they don't occur in this context.
A potential fix would be to hooking their appearance into a new
is-loaded
body class that only appears after the page is loaded, or something similar.Screenshot:
(GIF has been slowed down to show effect)
The text was updated successfully, but these errors were encountered: