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

The Unloaded events of the page is not triggered when navigating to next page on android #26050

Open
KarthikRajaKalaimani opened this issue Nov 22, 2024 · 1 comment
Assignees
Labels
platform/android 🤖 s/triaged Issue has been reviewed s/verified Verified / Reproducible Issue ready for Engineering Triage t/bug Something isn't working

Comments

@KarthikRajaKalaimani
Copy link
Contributor

Description

I have a Shell page and am using Shell.Current.GoToAsync(nameof(NewPage)) to navigate to another page when a button is clicked. However, the Unloaded event of the MainPage is not triggered when navigating to NewPage. This issue occurs only on the Android platform, and not on iOS, macOS, or Windows.

Steps to Reproduce

  1. Run the attached sample.
  2. Put the break on Unloaded event of the Main Page.
  3. Click the "Click Me" button to navigate to New Page.
  4. Note the Unloaded event is not triggered.ShellPage.zip

Link to public reproduction project repository

No response

Version with bug

9.0.10 SR1

Is this a regression from previous behavior?

Yes, this used to work in .NET MAUI

Last version that worked well

Unknown/Other

Affected platforms

Android

Affected platform versions

Android 15

Did you find any workaround?

no

Relevant log output

no
@KarthikRajaKalaimani KarthikRajaKalaimani added the t/bug Something isn't working label Nov 22, 2024
@kevinxufei kevinxufei added s/verified Verified / Reproducible Issue ready for Engineering Triage s/triaged Issue has been reviewed platform/android 🤖 labels Nov 22, 2024
@kevinxufei
Copy link

I can repro this issue at Android platform on the latest 17.13 Preview 1(9.0.10 & 9.0.0).

@sheiksyedm sheiksyedm self-assigned this Nov 22, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
platform/android 🤖 s/triaged Issue has been reviewed s/verified Verified / Reproducible Issue ready for Engineering Triage t/bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants