It’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.
...or any touch-pad or touch-mouse? Or really any device that scrolls?
I have never accidentally scrolled with either a touchpad or a normal mouse.
My macbook's touchpad doesn't seem to increment or decrement a type="number" input when I try to scroll within it.
Try a standard html input, some websites hijack the input to stop this behaviour.
I created an html file with only a
<input type="number">
element in it.
Yeah I looked into also, it appears to pretty much just be Chrome.