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

As I see a lot having used `overflow: hidden` on body or html there.

In some cases you can use instead of:

```diff css
+  overflow-x: hidden;
-  contain: layout;
```

To avoid scrollbars from negative margins. Example: https://jsfiddle.net/1t8h47fp/1/

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


-- 
Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config

Received on Wednesday, 30 March 2022 10:56:19 UTC