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

feat(Atoms): prevent numeric input from changing on scroll #4249

Merged
merged 1 commit into from
Dec 12, 2023

Conversation

maxpatiiuk
Copy link
Member

Fixes #4245

To test:
Make sure that #4245 does not happen for numeric inputs in the following two places:

(those input fields look the same, but are different in the code)

@maxpatiiuk maxpatiiuk requested review from a team December 2, 2023 02:23
Copy link
Contributor

@melton-jason melton-jason left a comment

Choose a reason for hiding this comment

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

If a numeric field is required and has no value, scrolling over it will still insert a value.
Barring that (if that is even an issue at all), this is fine!

@specify/ux-testing
When testing, please also provide your thoughts regarding focusing the field when scrolling over it!

@grantfitzsimmons grantfitzsimmons added this to the 7.9.4 milestone Dec 11, 2023
@CarolineDenis CarolineDenis linked an issue Dec 11, 2023 that may be closed by this pull request
@maxpatiiuk maxpatiiuk merged commit b5cea85 into xml-editor Dec 12, 2023
9 checks passed
@maxpatiiuk maxpatiiuk deleted the issue-4245 branch December 12, 2023 22:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Done
Development

Successfully merging this pull request may close these issues.

Prevent scrolling from altering numeric input fields
4 participants