- From: Saw-mon & Natalie via GitHub <sysbot+gh@w3.org>
- Date: Thu, 14 Nov 2019 21:14:22 +0000
- To: public-css-archive@w3.org
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