Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Input of type="number" jumps by two on Chrome (Mac OS Catalina 10.15)

Literally just

<input type="number" value="0" step="1" />

and it jumps by two for me on clicking both up and down (fine for arrow keys).

https://codepen.io/chandlervdw/pen/qBBdgZp?&editable=true

My coworkers are running the same version of Chrome as me (77.0.3865.90) and it jumps by one for them. The only difference is that I'm running Mac Catalina. Safari and Firefox are fine. How is this possible?

like image 972
chandlervdw Avatar asked Oct 09 '19 19:10

chandlervdw


1 Answers

This bug was reported on Chromium back in August and will be fixed in Chrome 78, which is stable today.

like image 178
chandlervdw Avatar answered Sep 30 '22 10:09

chandlervdw