4 ms·
>I quickly refocused into the field and slightly moved my index finger up on my Magic Mouse. Sounds like your problem is your "magic" mouse.
by josefresco 8y ago
>I quickly refocused into the field and slightly moved my index finger up on my Magic Mouse.
Sounds like your problem is your "magic" mouse.
- thomasedwards 8y ago...or any touch-pad or touch-mouse? Or really any device that scrolls?
- anoncake 8y agoI have never accidentally scrolled with either a touchpad or a normal mouse.
- pavel_lishin 8y agoMy macbook's touchpad doesn't seem to increment or decrement a type="number" input when I try to scroll within it.
- dalore 8y agoTry a standard html input, some websites hijack the input to stop this behaviour.
- pavel_lishin 8y agoI created an html file with only a <input type="number"> element in it.
- thomasedwards 8y agoYeah I looked into also, it appears to pretty much just be Chrome.
- atomwaffel 8y agoIt’s really not though, or at least not the only problem. <input type="number"> has some additional behaviour that makes it inappropriate for phone or account numbers or anything you wouldn’t store in a numeric data type: many browsers will strip leading zeroes; they may display stepper buttons; on-screen keyboards will offer a decimal point (and/or comma, depending on the locale); and something like 1.42e-60 is valid input as far as the browser is concerned.