How to read cursor position
altthomas4 opened this issue · comments
Description
Hi,
I'd like to know if it is possible to read the cursor position when a click event occours, in order to create a view attached to a specific coordinate.
I've already read the documentation:
https://facebook.github.io/react-360/docs/input.html
I tried with:
- global EventListener: it makes Firefox crashing
- onInput property of View: I can't find event coordinates
Additional Information
- 'react-360' package version: 1.1.0
- 'react-360-web' package version: 1.1.0
- Operating System: Windows x64
- Browser: Firefox 76.0.1
- VR Device: Oculus Go
Thanks in advance,
Thomas