Commit 007d4ac
fix(material-experimental/mdc-autocomplete): panel losing max-height if menu is opened after autocomplete (#21394)
Along the same lines as #21341. If an MDC-based mat-menu is opened after a
mat-autocomplete, the autocomplete will lose its max-height, because its
selector specificity is too low and it gets overwritten by the menu which uses
the same set of mixins.
These changes resolve the issue by increasing the specificity.
(cherry picked from commit 3335a92)1 parent c04d8be commit 007d4ac
1 file changed
Lines changed: 11 additions & 8 deletions
Lines changed: 11 additions & 8 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
6 | 6 | | |
7 | 7 | | |
8 | 8 | | |
9 | | - | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
10 | 12 | | |
11 | 13 | | |
12 | 14 | | |
| |||
28 | 30 | | |
29 | 31 | | |
30 | 32 | | |
31 | | - | |
32 | 33 | | |
33 | | - | |
34 | | - | |
35 | | - | |
36 | | - | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
37 | 38 | | |
38 | | - | |
39 | | - | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
40 | 42 | | |
| 43 | + | |
0 commit comments