Re: [csswg-drafts] [css-overflow] Top layer containing block and scrollbar-gutter (#9904)

> RESOLVED: (top layer or fullscreen) elements with 'position: fixed' cover the scrollbars/gutters

I'm confused by the resolution here, which doesn't solve the problem with the `position: fixed` element.

The `<dialog>` element doesn't create the top layer when `.show()` is called, and when the author can set it to `position: fixed`, the page is offset. 

See demo https://codepen.io/yisi/pen/ExzwMgP?editors=0010

https://github.com/w3c/csswg-drafts/assets/2784308/c3e981a8-6a0a-458d-9499-b3a807ddf5aa

Firefox implements it well and doesn't have problems with offsets.

This has been a long-standing user request, with 21 votes in [Chrome's bug](https://issues.chromium.org/issues/40792788).


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


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

Received on Wednesday, 12 June 2024 09:23:11 UTC