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 13:45:21 +0000
To: public-css-archive@w3.org
Message-ID: <issue_comment.created-518240294-1565012720-sysbot+gh@w3.org>
I think that people would very much prefer sacrificing this performance benefit over using hacks, workarounds, overflow, and whatnot to "prevent" the browser from scrolling or using `position:fixed` so that content can _appear_ like it's not scrolling.

Accelerated scrolling is a performance _benefit_ after all. If you use `beforescroll` wisely, it shouldn't be such a problem. Besides, `beforescroll` is useful for passive functionality as well, thanks to its delta properties and the fact that whatever you do with it won't lag behind.

-- 
GitHub Notification of comment by hdodov
Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/4172#issuecomment-518240294 using your GitHub account
Received on Monday, 5 August 2019 13:45:23 UTC

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