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

> I have the following rule:
> 
> ```css
> html, body {
>   overflow-x: hidden;
> }
> ```
> 
> and because of it, I'm not able to use `position: sticky;` at all. I'm trying to add some submit buttons on a form, and have them sticky to the bottom of the window `position: sticky; bottom: 0;` when outside the viewport. It works great and I love the feature, but this overflow-x rule prevents it from working. It sounds very similar to what @niutech mentioned.

I've tried for html overflow-x: hidden; and for body overflow-x: clip; 
It works fine for me also overflow clip is now supported for most of browsers

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


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

Received on Wednesday, 9 February 2022 11:59:27 UTC