Several issues with 2.0.0-alpha
See original GitHub issueThe branch implementing this can be found https://github.com/ferrannp/fithero/pull/148.
Basically is replacing all the createStackNavigator
for createNativeStackNavigator
.
- On Android, when I have to native stacks, when I navigate to one screen and I go back, I get a red screen:
- On Android the tabs are flickering:
- On Android the header is not respecting the content but tabs are ok:
- On iOS the header is respecting the content but not the tabs:
- On
mode: modal
there is no header anymore (only on iOS, on Android there is header) and I cannot close the modal using gestures either:
- On iOS the FAB from
react-native-paper
button is not there anymore. On Android is ok:
Native stack:
Normal stack:
-
That can be ok but
headerTitle
does not accept a string anymore so we need to actually come up with a Text component that looks the same as the original. -
As you see on the screens, I cannot remove the elevation & shadow on toolbar anymore. I used to do it with this code:
headerStyle: {
elevation: 0,
backgroundColor: theme.colors.toolbar,
borderBottomColor: theme.colors.toolbar,
},
Not working anymore though.
Issue Analytics
- State:
- Created 4 years ago
- Reactions:2
- Comments:15 (10 by maintainers)
Top Results From Across the Web
2.0.0-alpha.30
Fix babel transpilation include/exclude logic to be more efficient. This also fix a very weird bug TypeError: Cannot assign to read only ......
Read more >2.0.0 Alpha 4 not respecting margins. - Issue Tracker - Google
2.0.0 Alpha 4 not respecting margins. ; Comments (3) ; Duplicates (0) ; Blocking (0) ; Resources (0).
Read more >Announcing Hasura 2.0.0-alpha.11
We are super excited to announce the final alpha in the 2.0 series with 2.0.0-alpha.11. Including multiple bug fixes, SQL Server Explain ...
Read more >Constraintlayout
Various fixes, notably: Fix problem in MotionLayout with vertical scroll (#173); Perf improvements on nested MotionLayout (#189); Fast transition with ...
Read more >Blog
We've just pushed 2.0.0-alpha.34. A lot of changes have been going into the alpha versions to support more types of games and more...
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
Hey @tobiaslins thanks for your feedback. I haven’t yet decided what to do with the header on modals. I’m leaning towards disabling it on Android too. In native iOS in order to have the navbar there you’d render another stack inside a modal. There is a way to only render plain navbar but then you loose a bunch of styling options that are available when using the whole navigator. I’ll keep you updated which route I ended up choosing, if you have any suggestions I’d love to hear them.
As for the open collective I don’t have one, what I’d be more happy about is if you decided to support RN community events I help organize, e.g., you can buy a ticket to App.js 2020 conference or just tell your frends or coworkers about it 😃
Hey @WoLewicki ! Yes let’s close this as I need to do another round of tests but if I find another issue, I can open a new one. I think this has been long enough here 😃.