Please provide the following information about your environment:
Development OS: Mac
Device OS & Version: iOS 15.7.6
Version: ViroReact 2.41.1, ReactNative 0.73.6
Device(s): iPhone 7
Description
I have <ViroScene /> component. I've added to this component 'onRotate' event and it works fine. But when I want to use onTouch instead, the onTouch event is not working.
<ViroScene onTouch={(a, b) => console.log('touch: ', a, b)}>
I use Viro3DSceneNavigator.
Reproducible Demo
1) Create a project with Viro
2) Add Viro3DSceneNavigator, create initial scene with <ViroScene onTouch={(a, b) => console.log('touch: ', a, b)}>
3) Try to touch your device screen. Nothing will happen.
4) It would work if we update onTouch to onRotate and touch the screen with 2 fingers and then rotate.
Requirements:
Please go through this checklist before opening a new issue
Environment
Please provide the following information about your environment:
Description
I have
<ViroScene />
component. I've added to this component 'onRotate' event and it works fine. But when I want to use onTouch instead, the onTouch event is not working.I use Viro3DSceneNavigator.
Reproducible Demo
1) Create a project with Viro 2) Add Viro3DSceneNavigator, create initial scene with
<ViroScene onTouch={(a, b) => console.log('touch: ', a, b)}>
3) Try to touch your device screen. Nothing will happen. 4) It would work if we update onTouch to onRotate and touch the screen with 2 fingers and then rotate.