maui icon indicating copy to clipboard operation
maui copied to clipboard

Fix navigation stuck on iOS when pushing on hidden tab section in TabBar

Open albyrock87 opened this issue 9 months ago • 8 comments

Description of Change

On iOS, the view controller DidShowViewController will not be triggered until the Tab inside TabBar 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.

albyrock87 avatar May 22 '24 11:05 albyrock87