angular / angular/components

how to keep autocomplete panel open when click outside the panel without select option?

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

説明

#### Bug, feature request, or proposal:
this is a feature request

#### What is the expected behavior?
i want to keep autocomplete panel open when click outside the panel without select an option

#### What is the current behavior?
the panel is closed when click outside

#### What are the steps to reproduce?
https://stackblitz.com/angular/ynbmnnrjolq

#### What is the use-case or motivation for changing an existing behavior?

#### Which versions of Angular, Material, OS, TypeScript, browsers are affected?
i work with angular 7.x

#### Is there anything else we should know?

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

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

調査の方向性

リンクされた StackBlitz の再現と、その Angular 7.x autocomplete のセットアップから始めます。外側をクリックした後にパネルを閉じる動作を追跡し、オプションが選択されていない場合にパネルが開いたままになるよう変更内容を定義します。再現した操作でオプションを選択せずにパネルが開いたままになれば完了です。

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

評価

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

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

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