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 26, 2017 at 2:50 am
#250538
Participant
Yep, it’s definitely the fact that one scrolls beyond the point of switching to fixed position before the transition has ended that’s the cause of the jumpy behaviour. Have a look at the pen though, I seem to have mostly solved it by checking the translateY
value to see it is still in progress or not.
Snippet removed, since it’s a work in progress