top | item 32862415

(no title)

talim | 3 years ago

It also responds to the scroll wheel in some browsers, which sounds like a nifty feature except that we started receiving sporadic complaints and bug reports from users who insisted that forms were being submitted with slightly incorrect numeric values.

I spent an embarrassingly long time trying to track down some bizarre number parsing bug or obscure culture-specific behavior before realizing it was actually just users' cursors being over the number input while they tried to scroll, causing them to inadvertently change values just before submitting the form.

discuss

order

rjmunro|3 years ago

Absolutely. The scrolling behaviour is the worst part about number inputs. I don't think I've ever found a case where it is useful.