Skip to content

feat(material/menu): add disabledInteractive input to MatMenuItem - #33693

Open
jermowery wants to merge 1 commit into
angular:mainfrom
jermowery:feat/mat-menu-item-disabled-interactive
Open

feat(material/menu): add disabledInteractive input to MatMenuItem#33693
jermowery wants to merge 1 commit into
angular:mainfrom
jermowery:feat/mat-menu-item-disabled-interactive

Conversation

@jermowery

Copy link
Copy Markdown
Contributor

This adds the disabledInteractive input to MatMenuItem, bringing its behavior in line with MatButton. When disabledInteractive is true, the menu item takes on the visual styling of a disabled item and prevents default action on click, but allows for focus, hover states, and pointer events. This is useful for conveying why an item is disabled via a tooltip.

Fixes #33692

This adds the `disabledInteractive` input to `MatMenuItem`, bringing its behavior in line with `MatButton`. When `disabledInteractive` is true, the menu item takes on the visual styling of a disabled item and prevents default action on click, but allows for focus, hover states, and pointer events. This is useful for conveying why an item is disabled via a tooltip.

Fixes angular#33692
@pullapprove
pullapprove Bot requested review from andrewseguin and crisbeto August 17, 2026 21:06
@angular-robot angular-robot Bot added detected: feature PR contains a feature commit area: material/menu labels Aug 17, 2026
@jermowery

Copy link
Copy Markdown
Contributor Author

This was made with Jetski, internally at Google. I reviewed the code and it looks pretty similar to what I would have implemented myself

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area: material/menu detected: feature PR contains a feature commit

Projects

None yet

Development

Successfully merging this pull request may close these issues.

feat(menu): MatMenuItem should have disabledInteractive input like MatButton

1 participant