Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ContentPage.OnAppearing is not getting called when going back from Content page of type Modal page #13668

Closed
muffadal53 opened this issue Mar 3, 2023 · 2 comments

Comments

@muffadal53
Copy link

Description

ContentPage.OnAppearing is not getting called when going back from Content page of type Modal page.

Steps to Reproduce

Download solution here

https://github.com/muffadal53/MAUIOnAppearingModalBug.git

Run solution

On MainPage, click on button "Open Second Page" to go the Parent Page

Alert message is displayed with text "OnAppearing of Parent Page".

From ParentPage, click on "Open Modal" button to open Content page which is made Modal using "Shell.PresentationMode="Modal" in xaml.

Alert message is displayed with text "OnDisappearing of Parent Page".

On modal page, click on "Cross" button image.

On Parent page should display alert "OnAppearing of Parent Page" but it is not displayed --> This is Not OK

Link to public reproduction project repository

https://github.com/muffadal53/MAUIOnAppearingModalBug.git

Version with bug

7.0 (current)

Last version that worked well

Unknown/Other

Affected platforms

iOS, Android

Affected platform versions

Android 11, iOS 16

Did you find any workaround?

N/A

Relevant log output

No response

@muffadal53 muffadal53 added the t/bug Something isn't working label Mar 3, 2023
@jsuarezruiz jsuarezruiz added the area-controls-pages Page types label Mar 3, 2023
@ghost ghost added the legacy-area-controls Label, Button, CheckBox, Slider, Stepper, Switch, Picker, Entry, Editor label Mar 3, 2023
@rachelkang rachelkang added this to the Backlog milestone Mar 6, 2023
@dotnet dotnet deleted a comment Mar 6, 2023
@rachelkang
Copy link
Member

Duplicate of #8513

This has been fixed by #13177 and you will see the fix in the next upcoming release!

@muffadal53
Copy link
Author

@rachelkang So as I understand this fix will be part of .Net 8 release. Is my understanding right?

@ghost ghost locked as resolved and limited conversation to collaborators Apr 5, 2023
@Eilon Eilon removed legacy-area-controls Label, Button, CheckBox, Slider, Stepper, Switch, Picker, Entry, Editor area-controls-pages Page types labels May 10, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

5 participants