You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hey, I'm using a input field of type number. When the input field is in focus and mouse scroll is done , the value changes. This is happening only in chrome/safari but not in Firefox.
So, i raised a bug in chromium. I also attached a reproducible example there.
They said it is a intended behavior describe in https://chromestatus.com/feature/6662647093133312 and we just need to use useCapture where the wheel event is attached. But , I can see the wheel event is attached by react in the root element automatically. So, how can I proceed here. Any suggestion would be much helpful.
React version:
Steps To Reproduce
Hey, I'm using a input field of type number. When the input field is in focus and mouse scroll is done , the value changes. This is happening only in chrome/safari but not in Firefox.
So, i raised a bug in chromium. I also attached a reproducible example there.
They said it is a intended behavior describe in https://chromestatus.com/feature/6662647093133312 and we just need to use
useCapture
where the wheel event is attached. But , I can see the wheel event is attached by react in the root element automatically. So, how can I proceed here. Any suggestion would be much helpful.Link to code example:
https://mui.com/joy-ui/react-input/#inner-html-input
The current behavior
Cannot set useCapture parameter option to the events attached
The expected behavior
Need to set useCapture option to the events attached (or) remove wheel event from being attached
The text was updated successfully, but these errors were encountered: