E
E
Elisey Basenko2017-06-24 00:42:53
JavaScript
Elisey Basenko, 2017-06-24 00:42:53

How to make scroll smoother in Mozilla Firefox?

Those in the know and those not in the know, please help me come up with a way to do custom wheel scroll behavior effects.
It is necessary to make a smooth scroll like on touch displays.
How to adjust speed, sensitivity, attenuation, etc.
I'm having problems with Firefox . It seems that in this browser it is generally impossible to take control of the scroll into your own hands.
MB there are already some ready-made solutions?
What do you use?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
N
Nicholas, 2017-06-24
@healqq

All solutions work the same and do it poorly.
event.preventDefault on scroll and change position by hand. If you need attenuation - do it through animationFrame / setInterval.
The best thing to do is never touch the scrollbar (except when you have a promo site with some sort of custom scroll, like flipping entire pages, etc.). It only gets in the way.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question