viro
viro copied to clipboard
onPinch not called when the ViroARSceneNavigator unmount and mount during state change
this.state = {
displayAR: true,
}
{this.state.displayAR? (
<ViroARSceneNavigator style={localStyles.arView}
initialScene={{scene: InitialScene}}
ref={this._setARNavigatorRef}
viroAppProps={this.state.viroAppProps}/>
):null}
3d object onPinch callback is not called after I change displayAR from true to false and true again. It works well if I didn't unmount the ViroARSceneNavigator
Can you help by providing more example code? Specifically, InitialScene