[Bug] The NavigationBar fails to refresh when the existing child of a TabbedPage is substituted with a different NavigationPage. #22824
Labels
area-controls-tabbedpage
TabbedPage
area-navigation
NavigationPage
migration-compatibility
Xamarin.Forms to .NET MAUI Migration, Upgrade Assistant, Try-Convert
platform/android 🤖
platform/windows 🪟
s/triaged
Issue has been reviewed
s/verified
Verified / Reproducible Issue ready for Engineering Triage
t/bug
Something isn't working
Milestone
Description
Hi,
In our scenario, every tab within the TabbedPage contains a distinct NavigationPage. However, when an existing NavigationPage is substituted with a new one, the NavigationBar ceases to refresh. It's important to note that this issue only occurs when the TabbedPage is presented as a Modal. On iOS, the functionality operates as anticipated.
Steps to Reproduce
I have composed the following code to replicate our scenario:
The MainPage includes a button. When pressed, another MainPage will be presented as a Modal, and the scenario described above will repeat.
Expected Behavior
Actual Behavior
Link to public reproduction project repository
https://github.com/HMorales-ChipSoft/Maui_Issues/tree/main/ReproMaui
Version with bug
8.0.40 SR5
Is this a regression from previous behavior?
Yes, this used to work in Xamarin.Forms
Last version that worked well
Unknown/Other
Affected platforms
Android, Windows
Affected platform versions
No response
Did you find any workaround?
Unfortunately no.
Relevant log output
No response
The text was updated successfully, but these errors were encountered: