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

Input-Scroll w/ lazy prop produces large numbers on holding control #6

Open
Inventsable opened this issue Apr 29, 2020 · 0 comments
Open
Assignees
Labels
bug Something isn't working

Comments

@Inventsable
Copy link
Member

Since the default control modifier step is 0.1 and lazy doesn't validate the input value, it doesn't clamp or use Math.floor and can turn values like 29.97 into 32.4699999999907 by holding control and scrubbing.

@Inventsable Inventsable added the bug Something isn't working label Apr 29, 2020
@Inventsable Inventsable self-assigned this Apr 29, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant