This does not reproduce on IOS13/14, but on IOS12 if the topBar has a non-default background color when using bottom tabs, popping screens causes the topBar to flash in the default color.
Repository with a repro is here: https://github.com/zzorba/RnnHeaderFlicker/tree/master
The steps seem to be
1) Use BottomTabs
2) Use Navigation.setDefaultOptions to change topBar: { background: { color: 'red' } }
3) Push a screen in one of the tabs, and then pop it.
@zzorba could you please confirm that this is fixed? just use "react-native-navigation": "https://github.com/reime005/react-native-navigation#86cfd57"
@reime005, I can confirm this is fixed with the 7.1.0 release (which it looks like has your change merged into it?).
I tried to test the commit you linked directly, but received a message along the lines of However, this package itself specifies amainmodule field that could not be resolved.
Thank you for the fix, I really appreciate it!
@zzorba it is not yet merged. I've tested it with 7.1.0 and for me it is still there
Yeah, not sure why it appeared to have gone away, but you're absolutely correct. Trying to test the branch again.
Applying your diff manually I can confirm that the fix works as expected, the flicker is gone.
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs.
If you believe the issue is still relevant, please test on the latest version and report back. Thank you for your contributions.
Not stale, this bug still exists on the latest version as far as I can tell.
Just confirming that this is still an issue on iOS 12 with version 7.5.0 of react-native-navigation
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs.
If you believe the issue is still relevant, please test on the latest version and report back. Thank you for your contributions.
Not stale - I confirmed this issue is still present on iOS 12 in v7.8.3. Beyond the just the flickering on pop, it changes my title color from white to black until I navigate to another tab and return.