-
Notifications
You must be signed in to change notification settings - Fork 2k
Changing TabbedPage.CurrentPage from modal page no longer fires OnNavigatedTo on PopModalAsync #35756
Copy link
Copy link
Closed
Labels
area-controls-tabbedpageTabbedPageTabbedPagei/regressionThis issue described a confirmed regression on a currently supported versionThis issue described a confirmed regression on a currently supported versionpartner/syncfusionIssues / PR's with Syncfusion collaborationIssues / PR's with Syncfusion collaborationplatform/androidplatform/iosregressed-in-10.0.70s/triagedIssue has been reviewedIssue has been revieweds/verifiedVerified / Reproducible Issue ready for Engineering TriageVerified / Reproducible Issue ready for Engineering Triaget/bugSomething isn't workingSomething isn't working
Milestone
Description
Metadata
Metadata
Assignees
Labels
area-controls-tabbedpageTabbedPageTabbedPagei/regressionThis issue described a confirmed regression on a currently supported versionThis issue described a confirmed regression on a currently supported versionpartner/syncfusionIssues / PR's with Syncfusion collaborationIssues / PR's with Syncfusion collaborationplatform/androidplatform/iosregressed-in-10.0.70s/triagedIssue has been reviewedIssue has been revieweds/verifiedVerified / Reproducible Issue ready for Engineering TriageVerified / Reproducible Issue ready for Engineering Triaget/bugSomething isn't workingSomething isn't working
Type
Fields
Give feedbackNo fields configured for issues without a type.
Description
OnNavigatedTodoes not fire afterPopModalAsyncback to TabbedPage if we've updated the TabbedPage from a modal page.We did not test but this may also happen if your root page was NavigationPage with 2 pages on the stack, push modal, push 2 pages on the stack, pop the root stack back to first page and then pop modal.
This didn't happen in 10.0.60 and is now occuring in 10.0.70. We believe this PR may be the cause of this issue:
#23902
Steps to Reproduce
OnNavigatedTohas fired. (Debugger.Break()has been added to observe whenever it has been fired also)OnNavigatedTofiresOnNavigatedTofires.OnNavigatedTono longer fires when clicking "Close Page" and the number on MainPage is now only 2.Expected Outcome:
OnNavigatedToshould fire 3 times instead of 2Actual Outcome:
OnNavigatedTofires twice, not firing when popping modal back to this page.Link to public reproduction project repository
https://github.com/josh-kieser/maui-issue-TabbedPageOnNavigatedTo
Version with bug
10.0.70
Is this a regression from previous behavior?
Yes, this used to work in .NET MAUI
Last version that worked well
10.0.60
Affected platforms
iOS, Android, I was not able test on other platforms
Affected platform versions
Tested on iOS 26.3 & Android 16
Did you find any workaround?
No current work around but unable to update.
Relevant log output