Home › Forums › JavaScript › Hide/reveal header on scroll (works but a bit jumpy) › Reply To: Hide/reveal header on scroll (works but a bit jumpy)
January 30, 2017 at 5:09 am
#250704
Participant
Yeah, I think that’s down to the fact the navigation shrinks. It makes it difficult to control the position of the logo/nav toggle. I think the only way it could be done is maybe adding an additional class that is added/removed at a certain offset value (200px for example), that would increase the size of the header before it hit the top of the browser. But that mightn’t look as good.