react-three-fiber
react-three-fiber copied to clipboard
pointerenter and pointerleave semantics
I stumbled on an issue where onPointerLeave was invoked unexpectedly. It is invoked when releasing the pointer, making it act identical to onPointerOut. Thanks to the well maintained docs I found this is indeed how it is currently implemented.
Is there anything planned to implement pointerenter and pointerleave semantics? If no, would you be open for a PR?
We intend for those to behave like their DOM counterparts, so I'm treating this as a bug.
I'd be happy to accept and review a PR or any ideas on how to address this, as this is a weak part of the library.
Alright, thanks to confirm this. I'll see what I can do, hoping to open a PR soon.
Folks, please check fix in this PR https://github.com/pmndrs/react-three-fiber/pull/2764