Perfect example of how doubling down on paint/compositor hurts the Web https://developers.google.com/web/updates/2017/03/performant-expand-and-collapse … — why do we put devs through so much pain?
Layout of a menu like that with any reasonable setup will be 60 FPS. It’s static text stacked on top of each other.
-
-
Sure, but that isn't true of all expanding collapsing animations
-
If CSS transforms are enough to replicate the effect, then layout won’t rerun anything expensive on the inside anyway.
- 4 more replies
New conversation -
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.