angular / angular/components

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

オープン
#29,984 コメント 1 件 リアクション 0 件 担当者 0 名 GitHub で見る
area: material/menu feature P4
主要言語
TypeScript
スター
25k
フォーク
6.8k
平均マージ
1日 8時間
マージ済み PR(30日)
91

説明

### 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.

コントリビューションガイド

コントリビューションガイドを開く

調査の方向性

mat-menu-item の実装から始め、mat-button と関連コンポーネントで disabledInteractive がどのように扱われているかを比較します。button[mat-menu-item] と a[mat-menu-item] のエントリーポイントを追跡し、その後、新しい input とその tooltip の動作を対象とする menu-item テストを確認または追加します。両方の menu-item 形式が要求された disabledInteractive の動作をサポートすれば完了です。

索引モデルが issue の本文から書いたものです。

評価

技術スタック
angular, typescript
領域
frontend
issue の種類
機能追加
難易度
3/5
見積もり時間
1〜2日
活発さ
停滞
明瞭さ
おおむね明確
初心者へのやさしさ
38/100

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。