Re: [csswg-drafts] [css-contain] `scroll-state(stuck)` CQs can easily cause flickering that is very hard to work around (#13898)

In Chrome, this interact with scroll anchoring. If I add `:root { overflow-anchor: none }` to the [codepen](https://codepen.io/leaverou/pen/vEyOZXy), the problem seems to go away.

I'm not very familiar with scroll-anchoring, so I don't know if this is an implementation bug, or something that could be addressed in the spec.


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


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

Received on Tuesday, 12 May 2026 07:09:38 UTC