Re: [csswg-drafts] [cssom-view][proposal] beforescroll event (#4172)

From my understanding, this:

>Right now when you use your trackpad, or when you use the wheel and there are no `wheel` event listeners [...]

Needs to be changed so that it checks if there are `beforescroll` event listeners too, aside from `wheel` listeners. If nothing is listening for `beforescroll`, nothing can prevent scrolling and therefore, the browser can use accelerated scrolling?

You could also flag the `beforescroll` listener as `passive`, just as you can do with `scroll` and still benefit from accelerated scrolling?

-- 
GitHub Notification of comment by hdodov
Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/4172#issuecomment-518220370 using your GitHub account

Received on Monday, 5 August 2019 12:48:46 UTC