Blank page when using `setParams` in ReactNavigationv5 on Android 8
See original GitHub issueHello,
Found issue where calling setParams
in componentDidMount
for example is casuing blank page on Android 8.
Everything works fine on Android 9+ in my app.
If I remove enableScreens()
, everything works fine.
Found workaround that adding timeout for 100ms and then call setParams
is also working fine.
react-native-screens: 2.8.0
@react-navigation/bottom-tabs": "^5.5.2"
@react-navigation/drawer": "^5.8.2"
@react-navigation/native": "^5.5.1"
@react-navigation/stack": "^5.5.1"
anyone faced similar issue?
Issue Analytics
- State:
- Created 3 years ago
- Comments:16 (16 by maintainers)
Top Results From Across the Web
Hide header in stack navigator React navigation
On v4 simply use below code in the page you want to hide the header export default class Login extends Component { static...
Read more >react-navigation V5 - Let's see how to install react-navigaion ...
Let's see how to install react-navigaion V5 and how to use it.
Read more >Single User getting blank page when trying to acce...
Hi All, Could you advise, I have single user getting blank screen only when trying to access PROD. We use OKTA verification to...
Read more >blank white page after selecting school - can't log in (Android)
Solved: I can log in on the website but on the student app (Android - Note 8), after I select my school, I...
Read more >New blank page
All your content is private and nothing is ever stored on a server. Be sure to save your text somewhere else when you're...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Nice! Could you try and repro it anyhow and add this repro to the #463 even if it seems a bit big? It would greatly help us remove the problem. @react-navigation is publishing very often so you won’t have to wait long. I am closing this issue then, feel free to comment if something is wrong.
sure, will prepare tomorrow or on Monday