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

Allow disabling scroll events for NumberInput. #239

Merged
merged 1 commit into from
May 7, 2024

Conversation

airblast-dev
Copy link
Contributor

@airblast-dev airblast-dev commented May 7, 2024

#223

Simply allows disabling mouse scroll events for the NumberInput. Not sure how needed this is, but I can see it being annoying where the outer scrollable is small, as the user could accidentally modify the value.

The issue also mentions the idea of the event being opt-in, instead of opt-out which can be changed in NumberInput::new if preferred. Though personally I don't think its worth changing default behavior.

Copy link
Collaborator

@genusistimelord genusistimelord left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

looks good

@genusistimelord genusistimelord merged commit 477dbf8 into iced-rs:main May 7, 2024
2 checks passed
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.

2 participants