DEV Community

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

Collapse
hasnaindev profile image
Muhammad Hasnain

Sure but if a user has scrolled down and want to access navigation bar, what happens then? Think a little about UX. ;)

Collapse
pavelloz profile image
Paweł Kowalski

Im thinking about UX, thats why i propose not using js in this case. ;)