feat(COMPONENT): add "disabledInteractive" input to "mat-menu-item"
- 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
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