🐛 Bug Report
Because of e63bfd2
When doing a mergeOptions on a screen where statusBar drawBehind is set to true in static options() or in Navigation.setDefaultOptions() the Top bar is not extending behind status bar anymore.
@MBrianLoc
The only solution now to avoid this problem is to set again in each mergeOptions statusBar> drawBehind: true, even if there is no change.
Yes
To Reproduce
- Push a screen with statusBar> drawBehind: true
- Do a mergeOption
- You will see that the top bar is not extending behind status bar after the mergeOption. The padding above the topbar is set to 0.
Expected behavior
When doing a mergeOptions on a screen where statusBar drawBehind is set to true in static options() or in Navigation.setDefaultOptions() the Top bar should extend behind status bar and the padding above the topbar shouldn't be set to 0.
Actual Behavior
When doing a mergeOptions on a screen where statusBar drawBehind is set to true in static options() or in Navigation.setDefaultOptions() the Top bar the padding above the topbar is set to 0.
Your Environment
- React Native Navigation version: 7.19.0
- React Native version: 0.65.1
- Platform(s) (iOS, Android, or both?): Android
- Device info (Simulator/Device? OS version? Debug/Release?): Simulator & Device, Debug & Release
Reproducible Demo
(Paste the link to an example repo and exact instructions to reproduce the issue.)
Are you willing to resolve this issue by submitting a Pull Request?
- ✖️ Yes, I have the time, and I know how to start.
- ✖️ Yes, I have the time, but I don't know how to start. I would need guidance.
- ✅ No, I don’t have the knowledge and I’m okay to wait for the community / maintainers to resolve this issue.
🐛 Bug Report
Because of e63bfd2
When doing a mergeOptions on a screen where statusBar drawBehind is set to true in static options() or in Navigation.setDefaultOptions() the Top bar is not extending behind status bar anymore.
@MBrianLoc
The only solution now to avoid this problem is to set again in each mergeOptions statusBar> drawBehind: true, even if there is no change.
Have you read the Contributing Guidelines on issues?
Yes
To Reproduce
Expected behavior
When doing a mergeOptions on a screen where statusBar drawBehind is set to true in static options() or in Navigation.setDefaultOptions() the Top bar should extend behind status bar and the padding above the topbar shouldn't be set to 0.
Actual Behavior
When doing a mergeOptions on a screen where statusBar drawBehind is set to true in static options() or in Navigation.setDefaultOptions() the Top bar the padding above the topbar is set to 0.
Your Environment
Reproducible Demo
(Paste the link to an example repo and exact instructions to reproduce the issue.)
Are you willing to resolve this issue by submitting a Pull Request?