Hide header and sub header on scroll


#1

What I think would be a cool interaction is as a user scrolls down the header hides.
To see an example of what I mean look at the Facebook app.
As the user scrolls down, the header kind of slides up. Then when the user scrolls back up it slides back down and becomes visible.

Any idea on how to achieve this effect?


#2

I would like to do something like this too.


#3

ya I really don’t know how to achieve this. The main issue, is that I don’t know how to watch the scrolling action. If I know how to do that, then the rest would be pretty easy. But as of now, there is no way to determine if the user is scrolling at all (at least none that I know off)


#4

This sounds like it would be a great feature to have in the core. What do you think @adam?


#5

Any news on this? I’d really like to archive that effect.


#6

sorry man, none on my part.


#7

would be a very good interaction if we can fix that …any suggestions


#8

here is a codepen.