Skip to content

.Net 9 TabBar not work on Mac #32329

@changguangyu

Description

@changguangyu

Description

MauiAppTabBarBug.zip

Image

Steps to Reproduce

1.Create a empty MAUI project using .net 9 with VS Code on Mac.
2.Add the following code :

AppShell.xaml

<TabBar> <Tab Title="Home"> <ShellContent Title="Home" ContentTemplate="{DataTemplate local:MainPage}" Route="MainPage" /> </Tab> <Tab Title="About"> <ShellContent x:Name="AboutPage" Title="About" ContentTemplate="{DataTemplate local:AboutPage}" Route="AboutPage" /> </Tab> </TabBar>

When run app on mac, TabBar is not showing.

Link to public reproduction project repository

No response

Version with bug

9.0.110 SR12

Is this a regression from previous behavior?

Yes, this used to work in .NET MAUI

Last version that worked well

Unknown/Other

Affected platforms

macOS

Affected platform versions

Mac

Did you find any workaround?

No response

Relevant log output

Metadata

Metadata

Assignees

No one assigned

    Labels

    area-controls-shellShell Navigation, Routes, Tabs, Flyoutplatform/macosmacOS / Mac Catalysts/triagedIssue has been revieweds/verifiedVerified / Reproducible Issue ready for Engineering Triaget/bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions