Re: [csswg-drafts] [css-overflow-4] Effect of scrollbar-gutter on viewport (#8099)

@bramus Could it be that this fix now causes position fixed `top-layer` elements to not respect the `scrollbar-gutter` anymore and thus shift to the right? 

In the attached video the nav that appears is a `popover` element, it has `position:fixed` and `inset: 0` (like as is default), plus full width and height. Then the hamburger icon lives in `:root` with `position: fixed; right: 8px; top: 8px;`. The close button lives inside the `popover` and has a similar fixed position. Due to the popover overlaying the scrollbar gutter, the "right 8, top 8" is in fact a different position, thus shifting the button. 

I'm not 100% sure in which Chromium version the fix you mention was released though:
`Chromium Engine Version 126.0.6478.57`.

https://github.com/w3c/csswg-drafts/assets/2969573/e78849ff-8e32-4927-8d05-55961d5eb519



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


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

Received on Thursday, 20 June 2024 08:10:26 UTC