onPointerMissed is never called in react-native
krzys-h opened this issue · 2 comments
krzys-h commented
Similar story to #3315 - the code attempts to access e.offsetX
here:
https://github.com/pmndrs/react-three-fiber/blob/v8.16.8/packages/fiber/src/core/events.ts#L175-L176
which does not exist on react-native events.
This in turn causes the calculateDistance
calculation to always return NaN
and if (delta <= 2)
to never match.
Neosoulink commented
Is there any update about this?
I can fix it
CodyJasonBennett commented
No, generally updates occur naturally in their pertinent issues; you don't have to ping me for an update.
I'm not sure this is exactly true of a diagnosis, or perhaps we're not mutating the right reference here.
react-three-fiber/packages/fiber/src/native/Canvas.tsx
Lines 143 to 156 in 3200547