W3C home > Mailing lists > Public > public-css-archive@w3.org > August 2019

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

From: Hristiyan Dodov via GitHub <sysbot+gh@w3.org>
Date: Mon, 05 Aug 2019 12:48:45 +0000
To: public-css-archive@w3.org
Message-ID: <issue_comment.created-518220370-1565009324-sysbot+gh@w3.org>
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

This archive was generated by hypermail 2.4.0 : Tuesday, 5 July 2022 06:41:51 UTC