[Windows] FlyoutPage ShouldShowToolbarButton when overridden to return false, still shows button in title bar #24547
Labels
area-controls-flyout
Flyout
area-navigation
NavigationPage
partner/syncfusion
Issues / PR's with Syncfusion collaboration
platform/windows 🪟
s/triaged
Issue has been reviewed
s/verified
Verified / Reproducible Issue ready for Engineering Triage
t/bug
Something isn't working
Milestone
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.
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
The text was updated successfully, but these errors were encountered: