Does the scroll behavior of the top app bar match Material guidelines? #69
Replies: 4 comments 3 replies
-
I would be happy to take a stab at the contrasting color transition, but am not sure exactly which CSS variables you would use to color the bar |
Beta Was this translation helpful? Give feedback.
-
Definitely take a stab at it! I'll also take a closer look later. The header text and icons use The MD3 guidelines does have this section on scrolling, which mentions using a Currently, the header is just shifted upwards off screen when a scrolled |
Beta Was this translation helpful? Give feedback.
-
I'm stumped. Because the only way we can tell if a view is scrolled is the |
Beta Was this translation helpful? Give feedback.
-
I've put out an alpha which improves the header scroll performance, but doesn't fix the deeper limitations that prevent implementing scroll compress behavior. I did notice that I could do some more in depth style changes to |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
(Link to Material guidelines in question)
On my dashboard, the scroll effect only seems to take place once the whole view has been scrolled back to the top, and has more of a "fly in" effect than the guidelines' "compression" effect, in that it moves in after the content has reached its destination, and not with the content.
Granted, I imagine the compression effect is trickier to implement. But perhaps (in my opinion, at least) it would be cooler to adopt the "fills with contrasting color" effect listed first in the scrolling behaviors?
Thank you for your hard work on the theme overall, by the way!
Beta Was this translation helpful? Give feedback.
All reactions