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

Per spec - `overscroll-behavior` applies to all [scroll containers](https://drafts.csswg.org/css-overflow-3/#scroll-container) even those that don't overflow. In other words it should apply to elements with `overflow:auto` and  `overflow: hidden`. 

Our implementation in Blink has a known [bug](https://bugs.chromium.org/p/chromium/issues/detail?id=813094) where it does not do this correctly for 'auto' and 'hidden' scroll containers. But that is an implementation issue. I think Gecko has the same bug.

Overscroll is a behavior that is tightly coupled with scroll chaining and I don't think it makes much sense for it to be exposed to all elements beside scroll containers. Correct me if I am wrong but as far as I can tell the original issue you have raised would be addressed if implementation where correctly honoring the property for 'hidden/auto' values. Adding an `overflow: hidden` to make your element overflow should not be too problematic.

As for issue of having [direction specific overscroll-behavior](https://github.com/w3c/csswg-drafts/issues/3349#issuecomment-492447030). That is a separate issue. Can you please file a separate issue for it.

 

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

Received on Wednesday, 15 May 2019 16:14:49 UTC