-
Notifications
You must be signed in to change notification settings - Fork 1.9k
[macOS] IsEnabled property false not working on MenuBarItem #34038
Copy link
Copy link
Open
Labels
area-controls-menubarDesktop MenuBarItemsDesktop MenuBarItemsplatform/macosmacOS / Mac CatalystmacOS / Mac Catalysts/triagedIssue has been reviewedIssue has been revieweds/verifiedVerified / Reproducible Issue ready for Engineering TriageVerified / Reproducible Issue ready for Engineering Triaget/bugSomething isn't workingSomething isn't working
Milestone
Description
Description
On macOS, setting the IsEnabled property to false on a MenuBarItem does not disable the menu item as expected. The menu item remains clickable and visually enabled despite the property being set to false.
This behavior appears to be specific to macOS.
I have attached the Video for reference:
| Windows(Works Fine) | MacOS(Issue Occurs) |
|---|---|
Screen.Recording.2026-02-13.at.5.36.05.PM.mov |
Screen.Recording.2026-02-13.at.5.00.09.PM.mov |
Steps to Reproduce
- Run the give MAUI Sample both in MacOS and Windows - MenuBarItemSample.zip
- Click the MenuBarItem, the MenuItem will open.
- Now Disable the switch and then click it.
- Still it can be accessible in macOS but in windows it works fine
Expected Behavior
- When IsEnabled is set to false, the MenuBarItem should be disabled.
- The item should not be clickable
Actual Behavior
- The MenuBarItem remains visually enabled.
- The item can still be clicked.
Link to public reproduction project repository
No response
Version with bug
10.0.40
Is this a regression from previous behavior?
Not sure, did not test other versions
Last version that worked well
No response
Affected platforms
macOS
Affected platform versions
No response
Did you find any workaround?
No response
Relevant log output
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
area-controls-menubarDesktop MenuBarItemsDesktop MenuBarItemsplatform/macosmacOS / Mac CatalystmacOS / Mac Catalysts/triagedIssue has been reviewedIssue has been revieweds/verifiedVerified / Reproducible Issue ready for Engineering TriageVerified / Reproducible Issue ready for Engineering Triaget/bugSomething isn't workingSomething isn't working