You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I was testing out potentially moving towards createNativeStackNavigator() over createStackNavigator() and have been experiencing some inconsistent behavior regarding alignment with the headerLeft, headerCenter, and headerRight options. I initially tried using an image, but it was either slightly off centered to the right, or breaking out of the header bar. To test if it was a styling issue i tried using just <Text />, and each time i reload the app the text may appear in different spaces. Below are some variations of where the text may appear:
Another piece I noticed is this appears to only be happening on any iOS 13 device. The above issue does not happen on any iOS prior.
Below are some code snippets as well as package versions:
Hello,
I was testing out potentially moving towards
createNativeStackNavigator()
overcreateStackNavigator()
and have been experiencing some inconsistent behavior regarding alignment with theheaderLeft
,headerCenter
, andheaderRight
options. I initially tried using an image, but it was either slightly off centered to the right, or breaking out of the header bar. To test if it was a styling issue i tried using just<Text />
, and each time i reload the app the text may appear in different spaces. Below are some variations of where the text may appear:Another piece I noticed is this appears to only be happening on any iOS 13 device. The above issue does not happen on any iOS prior.
Below are some code snippets as well as package versions:
Packages:
Navigation:
Note: I have
enabledScreens()
in my app.js file per the documentation.Any information regarding this would be greatly appreciated! I'm happy to try any suggestions as well.
Thank you!
The text was updated successfully, but these errors were encountered: