This repository has been archived by the owner on May 1, 2024. It is now read-only.
[Bug] [iOS] [Shell] Multiple PageAppearing/OnAppearing Issues #12055
Labels
4.8.0
regression on 4.8.0
a/shell 🐚
i/regression
in-progress
This issue has an associated pull request that may resolve it!
p/iOS 🍎
partner/cat 😻
t/bug 🐛
Description
After the iOS OnAppearing lifecycle update in 4.8, the OnAppearing of pages in the Shell are called when they should not be. In the examples below the shell is build the following way:
Shell
-> FlyoutItem with FlyoutDisplayOptions="AsMultipleItems"
-----> Multiple Tabs
---------> Multiple ShellContents with Shell.TabBarIsVisible="False"
Each ShellContent has the same type of page that displays where OnAppearing is called from. Note that each page is loaded via ContentTemplate.
Steps to Reproduce
Expected Behavior
Actual Behavior
Basic Information
Screenshots
Scenario 1: The App is Started
Note that all OnAppearing are called for the Children of Tab 1 when app starts. Additionally, navigating to one of those tabs loaded on app start doesn't call OnAppearing (until the second time navigating to the page).
Scenario 2: App Returned From Background
Note that all of the pages from all previously loaded tabs have OnAppearing called.
Reproduction Link
ShellBackgroundingBug.zip
The text was updated successfully, but these errors were encountered: