Reputation: 123
Im wondering, is there a way to disable Firefox and Edge smooth scroll, and make it just like in Chrome? I saw this, but it's just for logging.
Upvotes: 1
Views: 998
Reputation: 827
Well, I have been using https://github.com/jquery/jquery-mousewheel plugin to do this.
I had to add overflow: hidden
to body
and listener for mousewheel
event.
I don't know if it works with Edge, as I don't have Win10 installed, but it works with Firefox. You can also animate scrolling in all browsers this way using $.animate()
.
Demo: http://codepen.io/Shawo/pen/JGqvGr
Upvotes: 1