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

@natematykiewicz 

The computed values of both `overflow-x` & `overflow-y` are...
> as specified, except with` visible` computing to `auto` if one of `overflow-x` or `overflow-y` is not `visible` - [css-overflow-3/#overflow-properties](https://www.w3.org/TR/css-overflow-3/#overflow-properties)

This is what causes our issue and is spec compliant.

Furthermore, check your "(but not BOTH)" solution in safari, including iOS, because that approach hasn't historically given people what they have sought out. -> [overflow-xhidden-doesnt-prevent-content-from-overflowing...](https://stackoverflow.com/questions/14270084/overflow-xhidden-doesnt-prevent-content-from-overflowing-in-mobile-browsers). Again, the most robust solution is to scroll an element WITHIN the body, not the body/html/document. Good luck.

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

Received on Friday, 6 April 2018 01:26:48 UTC