xamarin/Xamarin.Forms
OnAppearing not being called for the current page in shell instead called for parent page
Aperta
#7832 aperta il 4 ott 2019
a/shell :shell:e/2 :clock2:help wantedt/bug :bug:up-for-grabs
Metriche repository
- Star
- (5644 stelle)
- Metriche merge PR
- (Nessuna PR mergiata in 30 g)
Descrizione
Description
When media picker is opened from a detail page in shell, then after returning from the picker task completion only the on appearing of the parent page is called but not of the detail page.
I have attached Xaminals Xaminals.zip sample code in which I have added a gallery picker on button click in CatDetailPage
Steps to Reproduce
- On app launch, click on any cat item in CatsPage, this will cause navigation to CatDetailPage
- In CatDetailPage, click on "Open File Picker" button, this will open an action sheet
- Select "Choose from gallery" from the action sheet, it will open gallery/photos app
- From the gallery app click back or select an image, it will navigate back to CatDetailPage
- Observe that OnAppearing is not called for CatDetailPage but is called for CatsPage
Expected Behavior
The OnAppearing should be called for CatDetailPage
Actual Behavior
The OnAppearing of CatsPage is called
Basic Information
- Version with issue: 4.2.0.848062
- Last known good version: Not known
- IDE: Visual Studio 2019