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

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