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

Cross TabBar navigation broken on iOS - Fix #22655

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

kubaflo
Copy link
Contributor

@kubaflo kubaflo commented May 26, 2024

Issues Fixed

Fixes #22570
Fixes #18193
Fixes #16568

Before After
before.mp4
fixed.mp4
Simulator.Screen.Recording.-.iPhone.15.Pro.Max.-.2024-06-01.at.13.09.33.mp4

@kubaflo kubaflo requested a review from a team as a code owner May 26, 2024 18:03
@kubaflo kubaflo requested review from Eilon and rmarinho May 26, 2024 18:03
@dotnet-policy-service dotnet-policy-service bot added the community ✨ Community Contribution label May 26, 2024
Copy link
Contributor

Hey there @kubaflo! Thank you so much for your PR! Someone from the team will get assigned to your PR shortly and we'll get it reviewed.

@jsuarezruiz
Copy link
Contributor

/azp run

Copy link

Azure Pipelines successfully started running 3 pipeline(s).

@jsuarezruiz jsuarezruiz added platform/iOS 🍎 area-controls-shell Shell Navigation, Routes, Tabs, Flyout labels May 27, 2024
@rmarinho rmarinho self-requested a review May 27, 2024 14:59
Copy link
Member

@rmarinho rmarinho left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This tests is failing

EnsureOnAppearingFiresForLastPageOnlyAbsoluteRoute

@kubaflo
Copy link
Contributor Author

kubaflo commented May 28, 2024

@rmarinho I think now should be good :)

@kubaflo kubaflo requested a review from rmarinho May 28, 2024 22:48
@PureWeen
Copy link
Member

PureWeen commented Jun 1, 2024

/azp run

Copy link

Azure Pipelines successfully started running 3 pipeline(s).

jsuarezruiz
jsuarezruiz previously approved these changes Jun 4, 2024
@PureWeen
Copy link
Member

PureWeen commented Jul 5, 2024

/azp run

Copy link

Azure Pipelines successfully started running 3 pipeline(s).

@@ -115,7 +115,11 @@ public ShellNavigationManager(Shell shell)
modalStackPreBuilt = true;

bool? isAnimated = (nextActiveSection != currentShellSection) ? false : animate;
await nextActiveSection.GoToAsync(navigationRequest, parameters, _shell.FindMauiContext()?.Services, isAnimated, isRelativePopping);

await _shell.Dispatcher.DispatchAsync(() =>
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm curious to investigate this a bit further and see if we can base this fix on something more deterministic.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area-controls-shell Shell Navigation, Routes, Tabs, Flyout community ✨ Community Contribution platform/iOS 🍎
Projects
None yet
4 participants