react-native-copilot
react-native-copilot copied to clipboard
Walkthrough doesn't appear immediately after start()
Current Behavior Whenever start() has been called in Mount there is atleast 2 seconds delay for Walkthrough to appear. In this two seconds if we navigate to another screen, Walkthrough appear on the next screen. Even If I add a delay for start() as mentioned in https://github.com/mohebifar/react-native-copilot/issues/18#issuecomment-364469685 same issue exists.
Input Code
componentDidMount() {
this.props.start();
}
export default copilot({
animated: true,
overlay: 'svg',
animationDuration: 100,
tooltipComponent: Tooltip,
stepNumberComponent: StepNumberComponent,
androidStatusBarVisible: true,
backdropColor: "rgba(000, 000, 000, 0.9)",
})(App);
Expected behavior/code Walkthrough should appear immediately or it should not appear when we navigate to some other screen. If screen A and screen B has walkthrough, And if I navigate from screen A to screen B in a second then screen B will have two walkthroughs.
Environment
- Device: OnePlus 6
- OS: Android 9
react-native-copilot: 2.4.4react-native: 0.56.0react-native-svg: 6.3.1
Hey, any workaround / solution for this?