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

For the "I'm just using an `overflow:hidden` wrapper to prevents things from visually spilling out" case, `overflow:clip` achieves that without making it scrollable, and so *shouldn't* affect stickyness. That value isn't implemented in Chrome yet, but `-moz-hidden-unscrollable` is a prefixed name for the value, and if I'm reading previous comments correctly, it does indeed work with sticky (doesn't block stickiness). So I'll consider that part of the issue solved.

(The naming of "hidden" is unfortunate; really it's an "I'm handling scrolling with JS, don't worry about it" value, but it claimed a useful name that makes it sound more general than it is. What we're now calling "clip" should have been named "hidden". ^_^)

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

Received on Wednesday, 29 April 2020 15:19:36 UTC