-
Notifications
You must be signed in to change notification settings - Fork 1.8k
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
Fix navigation stuck on iOS when pushing on hidden tab section in TabBar #22574
base: main
Are you sure you want to change the base?
Fix navigation stuck on iOS when pushing on hidden tab section in TabBar #22574
Conversation
Hey there @albyrock87! Thank you so much for your PR! Someone from the team will get assigned to your PR shortly and we'll get it reviewed. |
/azp run |
Azure Pipelines successfully started running 3 pipeline(s). |
Build is failing for an unrelated test:
|
Closed in favor of #22655 |
/azp run |
Azure Pipelines successfully started running 3 pipeline(s). |
fa357b9
to
e3155b9
Compare
So here's my discovery regarding #16568 and #18193. We're using Everything's fine until we hit the limit (N>5). In this case The problem starts when the user taps on one of the sub-pages list item: At this point It seems there's no way to fix this besides creating our own "more" mechanism. |
e3155b9
to
58f97ff
Compare
Description of Change
On iOS, the view controller
DidShowViewController
will not be triggered until theTab
insideTabBar
becomes visible.The code is waiting on that before switching to the new
Tab
, this causes a race condition.So in this specific case, we have to complete the task immediately instead of waiting for
DidShowViewController
.Issues Fixed
Contributes to #16568 by fixing the scenario when the number of tabs is <= 5 (a.k.a. no "More" tab).
See my comment below regarding "More" tab.