Re: [csswg-drafts] [css-position-3] Please clarify how users can unstick position: sticky elements (#9510)

I have the following snippet for this site in stylus
```css
.gh-header .gh-header-sticky.is-stuck + .gh-header-shadow,
.js-sticky {
  position: static !important;
}
```

It used to cause a lot of problems (that were still better than seeing the sticky header) but after the last redesign I haven't seen any issues, which is more exception than rule.

I would much prefer being able to state a preference for not seeing this instead of creating custom css for commonly used sites and running custom js/opening dev tools for random sites that have these.

It seems like preference queries have to start at the OS level and then get exposed to browsers? I'm not sure that would make much sense as it seems like a web specific thing.

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


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

Received on Wednesday, 25 October 2023 21:11:50 UTC