DEV Community

Discussion on: Hide NavBar as Scroll down, in less than 10 lines of javascript;

jonrandy profile image
Jon Randy

Well, you could add one or two lines to stop it disappearing when you scroll as little as one pixel down, which is just plain irritating for the the user