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

Looks like if you set `overflow` to a non-default value for the sticky element ancestor, you would need to set the ancestor height as well. Otherwise, the `position: sticky` would not work. For example:

```css
.wrapper {
    overflow-x: hidden;
    height: 100vh;
}
```

This works on the `chrome 78 (64-bit)` on `Win 7`.
Example: [codepen](https://codepen.io/sawmon_and_natalie/full/qBBJvXY)

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

Received on Thursday, 14 November 2019 21:14:23 UTC