Make mat-autocomplete scroll behavior match mat-select.
- 主要言語
- TypeScript
- スター
- 25k
- フォーク
- 6.8k
- 平均マージ
- 1日 8時間
- マージ済み PR(30日)
- 91
説明
#### Please describe the feature you would like to request.
Disable the ability to scroll the page when the autocomplete options are displayed, so autocomplete works the same as mat-select.
#### What is the use-case or motivation for this proposal?
Currently when you use mat-autocomplete, the options do not stick to the dropdown field - reported in #12500. The mat-select behavior works great, so could we copy it for mat-autocomplete?
#### Is there anything else we should know?
Looking through the mat-select code, there's 1000 lines of code related to scrolling. I could work on a PR with some pointers to where the behavior is located.
コントリビューションガイド
調査の方向性
まず、mat-select のスクロール実装を mat-autocomplete と比較し、ページをスクロールしたときにオプションがドロップダウンフィールドにどのように保持されるかに注目します。現在の autocomplete の動作を再現し、mat-select の動作を参照してください。autocomplete がページのスクロールを防ぎ、mat-select と同じようにオプションの位置を維持できれば完了です。
索引モデルが issue の本文から書いたものです。
評価
- 技術スタック
- angular, typescript
- 領域
- frontend
- issue の種類
- 機能追加
- 難易度
- 4/5
- 見積もり時間
- 3〜5日
- 活発さ
- 停滞
- 明瞭さ
- おおむね明確
- 初心者へのやさしさ
- 35/100