Re: [csswg-drafts] [css3 positioning] support position:sticky inside an overflow:hidden|auto on general parents

Just wanted to make a note for others about how allowing general `overflow: hidden` ancestors to not be the "scrolling context" for a sticky element isn't always desirable. When using a modal view that programmatically turns off/on scrolling with `hidden`/`auto` a sticky element would jump around the screen between the swapping scrolling contexts.

Also, when we (eventually) have `overflow: clip` implemented everywhere, this should no longer be an issue?

- [#1971 - Is the box a scroll container if only one of 'overflow-x' or 'overflow-y' is 'clip'?](https://github.com/w3c/csswg-drafts/issues/1971)
- https://drafts.csswg.org/css-overflow-3/#valdef-overflow-clip

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

Received on Wednesday, 9 May 2018 23:48:13 UTC