This repository was archived by the owner on Sep 5, 2024. It is now read-only.
Commit a4732a9
authored
fix(autocomplete): prevent flashing of invalid state (#12064)
- when user clicks on suggestion, input element lost focus and then programmatically get focused
- again, add stop immediate propagation to prevent blur event handling by other handlers which
- update ng-model validity state
- add check that the event is an object
Fixes #109751 parent 7d5e262 commit a4732a9Copy full SHA for a4732a9
1 file changed
+3Lines changed: 3 additions & 0 deletions
File tree
Expand file treeCollapse file tree
Open diff view settings
Filter options
- src/components/autocomplete/js
Expand file treeCollapse file tree
Open diff view settings
Collapse file
src/components/autocomplete/js/autocompleteController.js
Copy file name to clipboardExpand all lines: src/components/autocomplete/js/autocompleteController.js+3Lines changed: 3 additions & 0 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
598 | 598 | |
599 | 599 | |
600 | 600 | |
| 601 | + |
601 | 602 | |
602 | 603 | |
603 | 604 | |
604 | 605 | |
605 | 606 | |
606 | 607 | |
607 | 608 | |
| 609 | + |
| 610 | + |
608 | 611 | |
609 | 612 | |
610 | 613 | |
|
0 commit comments