Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[AppKitBackend] Only show ScrollView scrollbar when a scrollbar is required #88

Open
stackotter opened this issue Apr 9, 2024 · 0 comments
Labels
AppKitBackend enhancement New feature or request

Comments

@stackotter
Copy link
Owner

To copy the behaviour of SwiftUI (which I like in this case), we should only show a ScrollView's scrollbar is the ScrollView's content is actually big enough for scrolling to be possible.

Additionally, I reckon we should use the sleek version of the macOS scroll bar even if a mouse is plugged in. It looks so much less clunky and SwiftUI does it so it's probably not too bad for accessibility. I'm not so set on this second part though, if someone has a good reason it I'm happy for us to stick with the bigger scrollbar when a mouse is present.

@stackotter stackotter added enhancement New feature or request AppKitBackend labels Apr 9, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
AppKitBackend enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant