Disable scroll on number input

Question:
How to disable scroll on number inputs, so that the number doesn’t change when someone scrolls up/down?

Product:
Wix Editor

What are you trying to achieve:
Correct representation of the desired number?

What have you already tried:
Custom Velo

Additional information:

This is the single biggest thing I hate about number input fields. I don’t see any use for that either when the user is anyways going to type in the actual number. Often times the value changes when a user tries to scroll up or down the page - thanks to this.

Wix should atleast have a toggle to enable / disable that if they don’t want to remove it completely.

As far as I understand, this is default behaviour of inputs on the web (if we look at it from the POV of inputs in their most basic HTML form) - but I agree it would be cool to see some setting for it.

Wonder if there’s some regex that would be added to a text input as an alternative? (A text input that would only accept number inputs)

1 Like