You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Apr 14, 2020. It is now read-only.
Currently reveal animates using height or width - this makes things harder because it's affecting the flow of the page. Performance isn't the main worry here - it's the position of the focal element changing because its parent containers dimensions are changing.
Props to turn off XY transitions when appropriate (really just a band aid solution)
Prop to optionally transition using clip-path which means the parent container never has its dimensions changed. This results is the transition working in all scenarios, but sacrifices browser compatibility (IE/Edge).
I think there can probably be a middle ground where we can force the parent to always have a fixed size then animate the contents, but its a little more involved for the consumer than I would have liked.
Kind of a bug but not really.
Currently reveal animates using height or width - this makes things harder because it's affecting the flow of the page. Performance isn't the main worry here - it's the position of the focal element changing because its parent containers dimensions are changing.
In the #75 PR up we work around this in two ways:
clip-pathwhich means the parent container never has its dimensions changed. This results is the transition working in all scenarios, but sacrifices browser compatibility (IE/Edge).I think there can probably be a middle ground where we can force the parent to always have a fixed size then animate the contents, but its a little more involved for the consumer than I would have liked.