Regarding mouse wheel scrolling speed adjustment

Asked 2 months ago, Updated 2 months ago, 3 views

In order to slow down the speed of scrolling, I set the following:
It was done during FF and IE, but if you look at it on GC, it will rattle when you scroll below.
Are there any mistakes in the description?

This is the current situation.

var scrollly=150;

    // $('html').mousewheel(function(event,mov){


        $('html, body')

        return false;


javascript jquery

2022-09-30 13:51

1 Answers

I think it's because of what's on this page.

The event listener is being treated as passive, so
I think it's because event processing interruptions are ignored (including return false).

2022-09-30 13:51

If you have any answers or tips

© 2022 OneMinuteCode. All rights reserved.