-
Notifications
You must be signed in to change notification settings - Fork 2.7k
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
Navigation.showModal and showLightBox crash on release when the screen has scrollView or flatlist in it. #2469
Comments
Please investigate further, if you can confirm this crash is related to RNN please reopen with more information. |
I just downgraded react native to 0.49.5 and everything works as expected. |
@guyca I encountered the same problem as @ghost . I'm now using react native 0.53.3 Also, it happens only on the Google Pixel 2, or at least i tested it on a Nokia 6, OnePlus X and an Asus Zenpad, on the app crash only in the Pixel 2.
|
Issue Description
Navigation.showModal and showLightBox crash on release when the screen have scrollView or flatlist in
it.
Steps to Reproduce / Code Snippets / Screenshots
i use mobx and mobx-react to manage states, i don't think it's related.
when I try to showModal this screen from a pushed screen, if I use scrollView, the app crash.
it works fine in debug but crash in release, i found this error on logcat
Calling JS function after bridge has been destroyed
@observer export default class PlaceSearch extends React.Component { render() { return ( <View style={{flex : 1, backgroundColor : 'white'}}> //<ScrollView style={{flex : 1}}> if you put this screen will crash <Text>this is a Text</Text> <Text>this is a Text</Text> <Text>this is a Text</Text> <Text>this is a Text</Text> <Text>this is a Text</Text> <Text>this is a Text</Text> <Text>this is a Text</Text> // </ScrollView> </View> ) } }
Environment
The text was updated successfully, but these errors were encountered: