Commit 3f1d041
test(material/select): remove form-field dependency in focus test (#21983)
The existing test would not work without using mat-form-field wrapper
because when the click() method in the trigger is called, the event
propagates to onContainerClick of FormField which calls focus() of select.
With this addition, the logic does not base on propagating/onContainerClick
but on a specific focus instruction.
(cherry picked from commit ea008d7)1 parent 3b14ddd commit 3f1d041
File tree
2 files changed
+2
-0
lines changed- src
- material-experimental/mdc-select
- material/select
2 files changed
+2
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3097 | 3097 | | |
3098 | 3098 | | |
3099 | 3099 | | |
| 3100 | + | |
3100 | 3101 | | |
3101 | 3102 | | |
3102 | 3103 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3163 | 3163 | | |
3164 | 3164 | | |
3165 | 3165 | | |
| 3166 | + | |
3166 | 3167 | | |
3167 | 3168 | | |
3168 | 3169 | | |
| |||
0 commit comments