dotnet / maui

.NET MAUI is the .NET Multi-platform App UI, a framework for building native device applications spanning mobile, tablet, and desktop.
https://dot.net/maui
MIT License
22.18k stars 1.75k forks source link

iOS | Navigating to a modal page under a different tab broken #11430

Open MaxFelinger opened 1 year ago

MaxFelinger commented 1 year ago

Description

Pictures tell more than words :-) See attached video

https://user-images.githubusercontent.com/45709220/202421160-92227612-42be-4bf1-b4e7-91c8f0608d23.mov

Steps to Reproduce

NavigationIssue.zip

  1. Download the attached project NavigationIssue.zip or clone it from https://github.com/MaxFelinger/dotNETMAUI_NavigationIssueWithTabChange
  2. Open the attached project
  3. Select TabItem3
  4. Click the button "GoTo RegularPage" to navigate to "RegularPage"
  5. Select TabItem2
  6. Click the button "GoTo //TabItem3/ModalPage"

Actual outcome:

Expected outcome:

See attached video for more details (description area of this issue).

Link to public reproduction project repository

https://github.com/MaxFelinger/dotNETMAUI_NavigationIssueWithTabChange

Version with bug

7.0 (current)

Last version that worked well

Unknown/Other

Affected platforms

iOS

Affected platform versions

iOS 16

Did you find any workaround?

// This additional invocation to the target tab fixes the tab selection. await Shell.Current.GoToAsync("//TabBar/Tab.Item3");

await Shell.Current.GoToAsync("//TabBar/Tab.Item3/ModalPage");

Relevant log output

No response

ghost commented 1 year ago

We've moved this issue to the Backlog milestone. This means that it is not going to be worked on for the coming release. We will reassess the backlog following the current release and consider this item at that time. To learn more about our issue management process and to have better expectation regarding different types of issues you can read our Triage Process.

XamlTest commented 1 year ago

Verified this on Visual Studio Enterprise 17.7.0 Preview 1.0. Repro on iOS 16.4 with provided Project: NavigationIssue.zip