-
-
Notifications
You must be signed in to change notification settings - Fork 420
null is not an object (evaluating 'this.state.currentStep.target') #117
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
I'm not sure how to reproduce this consistently, but that has happened to me when a user navigates away from the screen before copilot renders the overlay. |
I'm fix this problem by lock the screen with a View component that full all of the screen with transparent background and zIndex = 100 . |
I'm getting this same error |
I show copilot in child view, and I may remove child view in some case.
@mohebifar Mohammad jaan, I hope you add the such a code to prevent this error |
@SiSa68 Thanks for the proposed solution. Would you be able to create a PR? |
@mohebifar I moved the code to the |
Did this ever get merged into the master as I still see this error. |
I get some error of my app in bugsnag reporter that say's
null is not an object (evaluating 'this.state.currentStep.target')
this statement used in '/node_modules/@okgrow/react-native-copilot/src/hocs/copilot.js'
I never see this error in my test or development time .
it cause 10 time crash for 7 user in 2 day of our release.
Environment
OS: android version 8.1 and 9
react-native-copilot : "^2.4.1",
react-native: 0.57.8
The text was updated successfully, but these errors were encountered: