Skip to content
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

[MacCatalyst] When using TabbedPage TabBar is not visible #25679

Open
PureWeen opened this issue Nov 5, 2024 · 0 comments · May be fixed by #25700
Open

[MacCatalyst] When using TabbedPage TabBar is not visible #25679

PureWeen opened this issue Nov 5, 2024 · 0 comments · May be fixed by #25700
Assignees
Labels
area-controls-tabbedpage TabbedPage platform/macOS 🍏 macOS / Mac Catalyst s/triaged Issue has been reviewed
Milestone

Comments

@PureWeen
Copy link
Member

PureWeen commented Nov 5, 2024

Description

We added code here to remove the tabs in the title bar

This code is working fine in shell but when using the TabbedPage the TabBar isn't visible

Workaround

builder
.ConfigureMauiHandlers(
	handlers =>
	{
		#if MACCATALYST
		Microsoft.Maui.Controls.Handlers.Compatibility.TabbedRenderer.Mapper.ReplaceMapping<TabbedPage, Microsoft.Maui.Controls.Handlers.Compatibility.TabbedRenderer>("_TabsFixed", 
			(handler, virtualView) =>
			{
				handler.TabBar.Hidden = false;
			});
		#endif
	}
)
@PureWeen PureWeen added this to the .NET 9 SR1 milestone Nov 5, 2024
@dotnet-policy-service dotnet-policy-service bot added the s/triaged Issue has been reviewed label Nov 5, 2024
@jsuarezruiz jsuarezruiz self-assigned this Nov 5, 2024
@PureWeen PureWeen linked a pull request Nov 6, 2024 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area-controls-tabbedpage TabbedPage platform/macOS 🍏 macOS / Mac Catalyst s/triaged Issue has been reviewed
Projects
Status: In Progress
Development

Successfully merging a pull request may close this issue.

2 participants