initialPage does not work on Android with Hermes
See original GitHub issueCurrent Behavior
initialRouteName
don’t work. Or scrolling to first route. Problem only on Android with Hermes (no problem on iOS with Hermes).Expected Behavior
Tabs should open specified
initialRouteName
on init.How to reproduce
https://github.com/Bardiamist/initialRouteRame
Your Environment
software version iOS or Android Android (Checked on Android 11 simulator) @react-navigation/native 5.9.3 @react-navigation/material-top-tabs 5.3.14 react-native-tab-view 3.0.0 react-native 0.64.0 expo - node 15.12.0 npm or yarn yarn 1.22.10
Original post: https://github.com/react-navigation/react-navigation/issues/9435#issuecomment-802644853
Issue Analytics
- State:
- Created 3 years ago
- Reactions:5
- Comments:9 (3 by maintainers)
Top Results From Across the Web
The React Native app installed from apk stuck after initial page
This issue occur because you API not working. Solution: First: Check your API Links It must be start with https not with http....
Read more >SDK 46 ( 47 ) Hermes is not enabled - Expo Forums
Android / real device. Hi. I want to know why i cant debug JS on chrome after upgrading SDK to 47 version ?...
Read more >Changelog - WatermelonDB documentation - GitHub Pages
Now, _changed is not populated during initial creation of a record, but a later update will add changed fields to _changed. This change...
Read more >Big Cheese App | Douglas Isle Of Man - Facebook
Big Cheese App, Douglas, Isle of Man. 8 likes. The official Facebook page of Big Cheese App.
Read more >kernel/msm - Git at Google
It's sole function is to release DMA/memory resources, now that they are no longer actively being used. </para> + <para> + ->host_stop() is...
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
This works for me: https://github.com/callstack/react-native-pager-view/blob/master/src/PagerView.tsx#L64
Since I cant upgrade to rn-pager-view v5 at the moment (facebook/react-native#31245 happens with rn64 & pager-view v5, but not v4), I have patched v4 to fix the problem without a flash of the first page. Maybe someone wants to port this to v5: