-
Notifications
You must be signed in to change notification settings - Fork 6.8k
Commit 16dea18
fix(material/autocomplete): reopen panel on input click (#16020)
Currently if the user clicks an autocomplete to open it, selects an option and then clicks again, the panel won't open, because we use `focus` and the input was focused already. These changes add an extra `click` listener so the panel can reopen.
Fixes #15177.1 parent 8a12da7 commit 16dea18
File tree
5 files changed
+60
-0
lines changed- src
- material-experimental/mdc-autocomplete
- material/autocomplete
- tools/public_api_guard/material
5 files changed
+60
-0
lines changedLines changed: 1 addition & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
41 | 41 |
| |
42 | 42 |
| |
43 | 43 |
| |
44 | + | ||
44 | 45 |
| |
45 | 46 |
| |
46 | 47 |
| |
|
Lines changed: 25 additions & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
569 | 569 |
| |
570 | 570 |
| |
571 | 571 |
| |
572 | + | ||
573 | + | ||
574 | + | ||
575 | + | ||
576 | + | ||
577 | + | ||
578 | + | ||
579 | + | ||
580 | + | ||
581 | + | ||
582 | + | ||
583 | + | ||
584 | + | ||
585 | + | ||
586 | + | ||
587 | + | ||
588 | + | ||
589 | + | ||
590 | + | ||
591 | + | ||
592 | + | ||
593 | + | ||
594 | + | ||
595 | + | ||
596 | + | ||
572 | 597 |
| |
573 | 598 |
| |
574 | 599 |
| |
|
Lines changed: 7 additions & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
454 | 454 |
| |
455 | 455 |
| |
456 | 456 |
| |
457 | + | ||
458 | + | ||
459 | + | ||
460 | + | ||
461 | + | ||
462 | + | ||
457 | 463 |
| |
458 | 464 |
| |
459 | 465 |
| |
| |||
800 | 806 |
| |
801 | 807 |
| |
802 | 808 |
| |
809 | + | ||
803 | 810 |
| |
804 | 811 |
| |
805 | 812 |
| |
|
Lines changed: 25 additions & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
566 | 566 |
| |
567 | 567 |
| |
568 | 568 |
| |
569 | + | ||
570 | + | ||
571 | + | ||
572 | + | ||
573 | + | ||
574 | + | ||
575 | + | ||
576 | + | ||
577 | + | ||
578 | + | ||
579 | + | ||
580 | + | ||
581 | + | ||
582 | + | ||
583 | + | ||
584 | + | ||
585 | + | ||
586 | + | ||
587 | + | ||
588 | + | ||
589 | + | ||
590 | + | ||
591 | + | ||
592 | + | ||
593 | + | ||
569 | 594 |
| |
570 | 595 |
| |
571 | 596 |
| |
|
Lines changed: 2 additions & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
198 | 198 |
| |
199 | 199 |
| |
200 | 200 |
| |
201 | + | ||
202 | + | ||
201 | 203 |
| |
202 | 204 |
| |
203 | 205 |
| |
|
0 commit comments