Open adventmedia opened 2 days ago
Hello @adventmedia,
Your understanding is correct. It appears that the browsers return PointerEvents out of the onclick
.
But still return MouseEvent when using onmousedown
Will have a look later on how to fix this without introducing a breaking change. Thanks
version: 3.8.20 Microsoft Edge 130.0.2849.80 on MacOS 15.1
Describe the bug with
useMouseEvents={true}
, onKeyPress is still returning pointer events:`const onKeyPress = (button: string, evt?: MouseEvent) => { console.log(‘onKeyPress’, button, evt);
Screenshots the console.log
Or do I misunderstand what
useMouseEvents
does?