I'm using MUI type="number" textfields, but when I focus it and then scroll the mousewheel, the value of the input changes. I've readed about adding Blur after scroll, but I don't wanna blur the field. I've readed too about adding Blur and Focus again, but the behaviour isn't good enough.
Could somebody help me? Thanks a lot! :)
I'm using React 18 & MUI v5.
To reproduce this behaviour, you can go to https://mui.com/material-ui/react-text-field/, click in a type number textfield, and then scroll OVER the field. You will see how the value changes.
I've tried using blur and focus, but this behaviour is not good enough
Via Active questions tagged javascript - Stack Overflow https://ift.tt/2y0twRG
Comments
Post a Comment