- From: Adam Argyle via GitHub <sysbot+gh@w3.org>
- Date: Thu, 14 Nov 2024 20:34:07 +0000
- To: public-css-archive@w3.org
i'd attempted this using `scroll-state(overflowing)`
```css
::scroll-next-button {
@container not scroll-state(overflowing: right) {
interactivity: inert;
opacity: 0.5;
}
}
```
but since the buttons are siblings to the overflow area and not children, I don't currently have the hook.
i'm of the opinion that the UA shouldnt do this, that developers can opt-out using CSS like the above, to change the behavior. it's easier to remove the cyclical and never disabled state, then to try and re-enable these interaction patterns.
--
GitHub Notification of comment by argyleink
Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/11216#issuecomment-2477358595 using your GitHub account
--
Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config
Received on Thursday, 14 November 2024 20:34:08 UTC