Hello,
In Maui, if you set both Flyout and Tabbar at the same time, Flyout has a higher priority than Tabbar. To solve this problem, you can set the IsVisible
property for different platforms to prevent Flyout from being displayed on the mobile side, so that Tabbar can be used as the navigation system.
Please refer to the following code:
// Set the visibility of each FlyoutItem to hide it on mobile.
<FlyoutItem IsVisible="{OnPlatform Default=false, WinUI=true}" ...
// Since the Tab is contained in the Tabbar, you need to set the visibility of the Tabbar.
<TabBar IsVisible="{OnPlatform Default=true, WinUI=false}">
Best Regards,
Alec Liu.
If the answer is the right solution, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".
Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.