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 8:30 am
#250552
Participant
Before the code above, I used something called headroom.js (http://wicky.nillia.ms/headroom.js).
That actually handled the scroll back to the top very well and was a lot smoother but I had problems with the header leaving the page as it does in the CodePen. The issue with that was due to the changing of position
from absolute to fixed and back again.