-
Notifications
You must be signed in to change notification settings - Fork 3
-
Notifications
You must be signed in to change notification settings - Fork 3
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
Scrollwheel may surprisingly change number input fields (on Firefox) #61
Comments
The only input type |
Searching for known reports or solutions: https://bugzilla.mozilla.org/show_bug.cgi?id=1327816 Conclusion: It is a problem specific to firefox, but there is no published timeline for a fix. Technical ideas
Specshttps://developer.mozilla.org/en-US/docs/Web/HTML/Element/input/number |
Added evidence to the upstream problem report https://bugzilla.mozilla.org/show_bug.cgi?id=1327816 Implementation progress
|
Thus the solution I prefer is to use a custom validation function that only allows the field to be empty |
Work resumed. Observation: When reproducing the problem, it only happens if the input field is has the focus (e.g. after being clicked in), otherwise the scroll will just go over the field. Implementation notesThere is no obvious vue component availablee that would help. |
implementation completed with d9f689b see 6a51c2f...d9f689b This was harder as expected because
|
Two improvements have been made up to a70ed30 |
When using the scrollwheel, if the mouse pointer moves over a number input field,
further scrolling will not move the page, but changes the number.
Expected behaviour: should continue scrolling the page.
Reproduced with 0.5.3-dev on firefox 52.5.0.
Chromium 57.0.2987.98 behaves as expected.
The text was updated successfully, but these errors were encountered: