HFJuli Posted August 5, 2019 Share Posted August 5, 2019 Hello I want hide a navbar on scroll but the solution from w3schools fails in IE11 and Safari. When I scroll with the mousewheel it dosent work. Is there no solution to make it possible? I 've tried few different codes but allways with the same result. https://www.w3schools.com/howto/tryit.asp?filename=tryhow_js_navbar_hide_scroll best regards Julian Link to comment Share on other sites More sharing options...
Ingolme Posted August 5, 2019 Share Posted August 5, 2019 This does appear to have issues in Internet Explorer when using the scroll wheel on the mouse, most likely because the scroll action actually does a bit of backwards scrolling. To make it more robust it would probably have to keep a record of the last few scroll events rather than just the previous one. Link to comment Share on other sites More sharing options...
martysete Posted August 28, 2019 Share Posted August 28, 2019 It's really annoying. Do you have a solutionĀ to keep a record of the last few scroll events ? Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now