We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
react-native: 0.39.2 When I pop the page with a PullToRefresh, It shows the error: 'Cannot read property 'removeListener' of undefined', like this:
code in TimedAnination.js, line 96:
componentWillUnmount() { if(this.triggerBindID) { this.state.scrollY.removeListener(this.triggerBindID); } }
should I modify the code link this, and what should I do next?:
componentWillUnmount() { if(this.triggerBindID) { this.state.scrollY && this.state.scrollY.removeListener(this.triggerBindID); } }
The text was updated successfully, but these errors were encountered:
Sorry about the late reply, can you post a little more code of what you're doing when you're popping? I can't reproduce the error.
Sorry, something went wrong.
I only pop the navigator stack: onPress={()=>{this.props.navigator.pop()}}
onPress={()=>{this.props.navigator.pop()}}
Here is a demo. https://github.com/Liuthx/ptr_bug_test
any resolution for this issue?
Same problem...Any workaround for this issue ?
No branches or pull requests
react-native: 0.39.2
When I pop the page with a PullToRefresh, It shows the error: 'Cannot read property 'removeListener' of undefined', like this:
code in TimedAnination.js, line 96:
should I modify the code link this, and what should I do next?:
The text was updated successfully, but these errors were encountered: