Skip to content

Fix #8: expose --const-scrollbar-overlay (user scrollbar preference) - #9

Merged
argyleink merged 1 commit into
mainfrom
scrollbar-overlay-pref
Jun 24, 2026
Merged

Fix #8: expose --const-scrollbar-overlay (user scrollbar preference)#9
argyleink merged 1 commit into
mainfrom
scrollbar-overlay-pref

Conversation

@argyleink

Copy link
Copy Markdown
Owner

Overlay scrollbars reserve no layout space, so the scrollbar-width probe already taken in tells us the preference directly: write --const-scrollbar-overlay as 1 when scrollbars overlay content (float, appear on interaction) and 0 when classic/inline (always shown, take up width). No new measurement — derived from the existing probe.

Closes #8.

Overlay scrollbars reserve no layout space, so the scrollbar-width probe
already taken in <head> tells us the preference directly: write
--const-scrollbar-overlay as 1 when scrollbars overlay content (float,
appear on interaction) and 0 when classic/inline (always shown, take up
width). No new measurement — derived from the existing probe.

Closes #8.
@netlify

netlify Bot commented Jun 24, 2026

Copy link
Copy Markdown

Deploy Preview for prop-for-that ready!

Name Link
🔨 Latest commit 43d0774
🔍 Latest deploy log https://app.netlify.com/projects/prop-for-that/deploys/6a3b3a727de99900087387d7
😎 Deploy Preview https://deploy-preview-9--prop-for-that.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

@argyleink
argyleink merged commit 6f791a5 into main Jun 24, 2026
8 checks passed
@argyleink
argyleink deleted the scrollbar-overlay-pref branch June 24, 2026 18:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

prop for overlay or inline scrollbars user preference

1 participant