Skip to content

[Windows] FlyoutPage ShouldShowToolbarButton when overridden to return false, still shows button in title bar #24547

Open
@bmacombe

Description

@bmacombe

Description

Using the Popover behavior

On Android it removes the hamburger icon and on iOS removes the menu text when you override ShouldShowToolbarButton on a FlyoutPage to return false.

But on Windows the hamburger icon is still present in the title bar.

image

My use case is implementing my own TitleView to make navigation UI consistent across all platforms. The extra hamburger icon on Windows causes no issues being there but is not needed or wanted.

Related Android issue on this topic
#15111

Steps to Reproduce

Set the MainPage as a FlyoutPage
Override ShouldShowToolbarButton to return false
Start app and observe the hamburger button is still present

Link to public reproduction project repository

https://github.com/bmacombe/MauiFlyoutTitleBar

Version with bug

8.0.80 SR8

Is this a regression from previous behavior?

Not sure, did not test other versions

Last version that worked well

Unknown/Other

Affected platforms

Windows

Affected platform versions

No response

Did you find any workaround?

No response

Relevant log output

No response

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions