[v2] pushing screen with topbar visible from screen with invisible topbar
Issue Description
I have a stack root with topBar set as visible: false, and a sidemenu.
Clicking on a sidemenu option - the menu is hidden and a new screen is pushed.
The problem is - that the topBar in the new screen is randomly visible or invisible (while it should be visible)
Environment
- React Native Navigation version: 2.0.2478
- React Native version: 0.56.0
- Platform(s) (iOS, Android, or both?): Android
- Device info (Simulator/Device? OS version? Debug/Release?): Simulator, Api 28, Debug
Same here. Pushing a screen with visible topBar from a screen without a topBar will trigger this issue in Android.
A temporary workaround is to set animate: false in the parent screen. But a real fix would be much better.
What I did for hackish fix is to set the topBar transparent:true and set the background color of topBar same with the content. This will fix the jumping of topBar from no topbar screen going to with topbar screen.
@webdevsyd yes but that won't work if you need to occupy that space with your own elements
@danielgindi Did you solve this problem?
@webdevsyd Nope. I've tried removing the - 1 here, which improved the odds of the topbar being on top greatly. But it still disappears occasionally.
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.
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 Detox and report back. Thank you for your contributions.
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 Detox and report back. Thank you for your contributions.
Shouldn't be marked as stale. Should be a priority for the author.
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 Detox and report back. Thank you for your contributions.
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 Detox and report back. Thank you for your contributions.
Again? Stupid bot.
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 Detox and report back. Thank you for your contributions.
The issue has been closed for inactivity.