angular / angular/components

feat(COMPONENT): add "disabledInteractive" input to "mat-menu-item"

Open
#29,984 1 comment 0 reactions 0 assignees View on GitHub
area: material/menu feature P4
Dominant language
TypeScript
Stars
25k
Forks
6.8k
Avg merge
1d 8h
Merged PRs (30d)
91

Description

### Feature Description

I want allow to set `disabledInteractive` to `button[mat-menu-item]` and `a[mat-menu-item]`.
Now `disabledInteractive` is available in `mat-button`, `mat-checkbox` , etc. It is used to make the appearance disabled but still allow tooltips etc. to be available.

### Use Case

I sometimes use menus when there is not enough space to display buttons. It is inconvenient that mat-menu-item can't do what mat-button can do.

Contributor guide

Open the contributing guide

Research direction

Start at the mat-menu-item implementation and compare how disabledInteractive is handled by mat-button and related components. Trace the button[mat-menu-item] and a[mat-menu-item] entry points, then inspect or add menu-item tests covering the new input and its tooltip behavior. Done means both menu-item forms support the requested disabledInteractive behavior.

Written by the indexing model from the issue text.

Assessment

Tech stack
angular, typescript
Domain
frontend
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
38/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.