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

Re: [csswg-drafts] [css-overscroll-behavior] Inhibiting "scroll chaining" from non user scrollable elements? (#3349)

From: jonjohnjohnson via GitHub <sysbot+gh@w3.org>
Date: Tue, 14 May 2019 23:26:12 +0000
To: public-css-archive@w3.org
Message-ID: <issue_comment.created-492447030-1557876371-sysbot+gh@w3.org>
Just stumbled on a case I figure is worth mentioning here, where I'd it would be real handy to inhibit/allow overscrolling per edge/direction, not just per axis.

The case is a notification drawer that that pulls out onto the screen above main view. But uses scrolling/snapping to do so. And inside the drawer is another scroll container where a user can scroll heaps of notifications. With the notification drawer coming into and out view from the top, I'd love to inhibit overscrolling from the top of the inner notification scroller, but allow chaining from its bottom edge, allowing the drawer to be "thrown" out of view from an inner scroller interaction at that bottom edge. For now, a 1px scroll event offset in js is fine, but with more of the web trying to accommodate native-like gesture-rich interfaces, it could be worth putting this in the css side of the web platform.

GitHub Notification of comment by jonjohnjohnson
Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/3349#issuecomment-492447030 using your GitHub account
Received on Tuesday, 14 May 2019 23:26:14 UTC

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