-
Notifications
You must be signed in to change notification settings - Fork 1.9k
[Bug] [iOS] Shell.Current.GoToAsync fails from pages in More tab with Shell #7594
Comments
Is there any known workaround for this? I have more than 4 tabs in the app and would like to get it to work. Thanks |
still having the same problem, is there a workaround? Thank you in advance. |
Shell navigation is not working at all for me on iOS (Xamarin 5.0.0.1931) |
Anyone found a work around for this.. This is killing me.. I'd hate to revert the iOS version of my app back.. |
Hey please see if this workaround works for you. Also, there's a known issue that if your more tab has more items than that device can present at once that will fails. That's the way that iOS handle that TableView. |
Hi all, i have the same issue but with Shell TabBar when the page is under More tab. what can i do ? thanks |
@pictos , I owe you a drink.. This works... Refactored the App Shell not to use FlyoutDisplayOptions="AsMultipleItems" and dynamically add any new menu as unique Flyoutitem with Shell content and now navigation magically works. Just need to figure a way to add some basic tabs back to the bottom of the screen. It looks a bit naked now.. :-) |
Hi all, i have the same issue but with Shell TabBar when the page is under More tab. what can i do ? thanks |
@pictos it only works in flyout but not in Shell Tab. Any workaround for shell tabs? |
Have you found any work around for the same |
Description
When there are more pages in a TabBar than iOS can fit in the tab bar, iOS creates a More tab with the extra pages. If you open one of the pages in the More tab and then try to navigate to a new page with
Shell.Current.GoToAsync
, the navigation does not work, nothing happens.Steps to Reproduce
Expected Behavior
A new page will be displayed
Actual Behavior
New page is not displayed
Also page 4 will have the new pushed page instead, so select tab 4 and you should see "Pushed Page" instead of "Page 4" (Might have to do step 4 twice to see this)
Notes
I found some seemingly related bug reports:
Without Shell, i.e. issue with non-shell TabbedPage (which I could verify still exist):
#3483
#1336
Shell issue:
#6784
#6786 (Pull request to fix 6784)
It also seems worth noting that even if you put the Tab items in a FlyoutItem, the issue occurs even when selecting page 5 from the flyout menu.
Basic Information
Version with issue: 4.2.0.815419
Last known good version: no known good version
IDE:
Platform Target Frameworks:
Nuget Packages: Xamarin.Forms and Xamarin.Essentials
Affected Devices: All iOS
Reproduction Link
TestShellNavFromMoreTab.zip
The text was updated successfully, but these errors were encountered: