Answer the question
In order to leave comments, you need to log in
How to make number entry work with mouse wheel?
Here is an example
https://www.w3schools.com/tags/tryit.asp?filename=...
I would like to change the number, but so that the number can be changed already when hovering over with the mouse, is it possible do?
Since it is there now, you still have to put additional pressure on the field, and only then you can turn the mouse.
Answer the question
In order to leave comments, you need to log in
Here, fixed your circles drawn through path,
The answer is in your question. Listen to the field's hover/focus event and include a mouse wheel listener on it. According to the results, increment the value in the range in one direction or another. In order not to go beyond the range, you will have to count all these attributes in JS.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question