-
Notifications
You must be signed in to change notification settings - Fork 1.9k
Description
Description
When loading a page from the extended tabbar OnAppearing and OnNavigatedTo fires as they should. Loading a 2nd page from this page, only OnAppearing fires. OnNavigatedTo does not fire. If the back button is used neither OnAppearing nor OnNavitedTo fires.
If a Shell.Current.GoToAsync("..") is used, the OnAppearing fires but not OnNavigatedTo.
After either of these operations (using back button or Shell...Goto) OnNavigatedTo does not fires again for several page loads no matter which page is loaded (from the normal tabbar or the extended tabbar, 1st page in the stack nor subsequent pages). If pages keep being loaded eventually OnNavigatedTo starts firering again - and it seems that a "delayed" OnNavigatedTo event is fired, but I cannot identify this with certainty. After this it is random which event is fired. OnAppearing fires in most cases but not all, OnNavigatedTo fires in few cases but never from pages within the extended tabbar.
Steps to Reproduce
Clone attached repository and compile to IOS (have only tested on physical device.)
Choose OnNavigatedTo tab an observe both events fireing in the Debug out window. Push "Go to second page" and observe similar. Press Back arrow/Go back button and observe similar.
Now choose the more tab and "Select for OnNavigatingTo Test". Observe both events firering. Press "Go to second page" and observe only OnAppearing firering. Press Back arrow and no events fires or Press Go back button and OnAppearing fires.
After this go back to OnNavigatingTo tab on normal tabbar and observe events firering/not firering. It seems random from here on when an event fires or not.
Link to public reproduction project repository
https://github.com/SorenBech2/ShellTestMAUI9
Version with bug
9.0.40 SR4
Is this a regression from previous behavior?
Not sure, did not test other versions
Last version that worked well
No response
Affected platforms
iOS
Affected platform versions
18.3.1
Did you find any workaround?
No
Relevant log output
Metadata
Metadata
Assignees
Labels
Type
Projects
Status