question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Several issues with 2.0.0-alpha

See original GitHub issue

The branch implementing this can be found https://github.com/ferrannp/fithero/pull/148.

Basically is replacing all the createStackNavigator for createNativeStackNavigator.

  1. On Android, when I have to native stacks, when I navigate to one screen and I go back, I get a red screen:

red-screen

  1. On Android the tabs are flickering:

tabs-flicker

  1. On Android the header is not respecting the content but tabs are ok:

5f9d837c-4bb4-478b-ad2f-5cae0a5cb0a2

  1. On iOS the header is respecting the content but not the tabs:

Simulator Screen Shot - iPhone X - 2019-09-10 at 15 50 20

  1. 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:

ios-modal

android-modal

  1. On iOS the FAB from react-native-paper button is not there anymore. On Android is ok:

Native stack:

Simulator Screen Shot - iPhone X - 2019-09-10 at 15 52 54

Normal stack:

Simulator Screen Shot - iPhone X - 2019-09-10 at 15 55 14

  1. 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.

  2. 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:closed
  • Created 4 years ago
  • Reactions:2
  • Comments:15 (10 by maintainers)

github_iconTop GitHub Comments

2reactions
kmagieracommented, Oct 24, 2019

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 😃

1reaction
ferrannpcommented, Apr 1, 2020

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 😃.

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found