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
|
Azure Pipelines successfully started running 3 pipeline(s). |
|
/rebase |
58f97ff to
ae93381
Compare
|
/azp run |
|
Azure Pipelines successfully started running 3 pipeline(s). |

Description of Change
On iOS, the view controller
DidShowViewControllerwill not be triggered until theTabinsideTabBarbecomes 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.