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

Not trigger OnNavigatedTo method if using swipe back on iOS #27021

Closed
jingliancui opened this issue Jan 9, 2025 · 6 comments
Closed

Not trigger OnNavigatedTo method if using swipe back on iOS #27021

jingliancui opened this issue Jan 9, 2025 · 6 comments
Labels
area-core-lifecycle XPlat and Native UIApplicationDelegate/Activity/Window lifecycle events platform/iOS 🍎 s/triaged Issue has been reviewed s/verified Verified / Reproducible Issue ready for Engineering Triage t/bug Something isn't working
Milestone

Comments

@jingliancui
Copy link
Contributor

Description

Given user in the second page,
when user try to swipe back to main page,
then code could not trigger the OnNavigatedTo method

Screen.Recording.2025-01-09.at.15.56.53.mov

Steps to Reproduce

  1. Click the "Go" button on MainPage
  2. Swipe back to MainPage from SecondPage

Expect:
OnNavigatedTo should be invoked

Actual:
OnNavigatedTo is not be invoked

Link to public reproduction project repository

https://github.com/jingliancui/OnNavigatedToSwipeBackIssue

Version with bug

9.0.22 SR2.2

Is this a regression from previous behavior?

Not sure, did not test other versions

Last version that worked well

Unknown/Other

Affected platforms

iOS

Affected platform versions

No response

Did you find any workaround?

no

Relevant log output

@jingliancui jingliancui added the t/bug Something isn't working label Jan 9, 2025
Copy link

We've found some similar issues:

If any of the above are duplicates, please consider closing this issue out and adding additional context in the original issue.

Note: You can give me feedback by 👍 or 👎 this comment.

@jfversluis
Copy link
Member

@kubaflo I think you did the fix for the other direction, maybe you have an idea for this one :D

@jfversluis jfversluis added area-core-lifecycle XPlat and Native UIApplicationDelegate/Activity/Window lifecycle events platform/iOS 🍎 labels Jan 9, 2025
@jfversluis jfversluis added this to the Backlog milestone Jan 9, 2025
@Ying-6 Ying-6 added s/triaged Issue has been reviewed s/verified Verified / Reproducible Issue ready for Engineering Triage platform/iOS 🍎 area-core-lifecycle XPlat and Native UIApplicationDelegate/Activity/Window lifecycle events and removed area-core-lifecycle XPlat and Native UIApplicationDelegate/Activity/Window lifecycle events platform/iOS 🍎 labels Jan 9, 2025
@Ying-6
Copy link

Ying-6 commented Jan 9, 2025

This issue has been verified Visual Studio Code 1.96.2 (9.0.22 & 9.0.21 & 9.0.14). Can repro this issue on iOS platform.

@kubaflo
Copy link
Contributor

kubaflo commented Jan 9, 2025

Hi friends!
Could you please try with the latest build?

<PackageReference Include="Microsoft.Maui.Controls" Version="9.0.30-ci.main.25059.1" />

Screen.Recording.2025-01-09.at.19.13.25.mov

@jingliancui
Copy link
Contributor Author

hi @kubaflo
Yes! this package work!
Is it will be released in .net9 sr3? @jfversluis

@jfversluis
Copy link
Member

@jingliancui this is merged so it should indeed be part of SR3, thanks for checking!

Closing this for now!

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
area-core-lifecycle XPlat and Native UIApplicationDelegate/Activity/Window lifecycle events platform/iOS 🍎 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

4 participants