Skip to content

Commit

Permalink
fix(material/autocomplete): autocomplete panel top is cut off in land…
Browse files Browse the repository at this point in the history
…scape mode

Fixes lint error from previous commit which fixes Angular Component's
autocomplete panel top from being cut off when viewed in landscape mode.
The previous max-height of the panel is more than the height of the panel
from the top of the input when in the bottom half to the top of the device's
screen.

Fixes b/284148377
  • Loading branch information
essjay05 committed Apr 30, 2024
1 parent 7a08be9 commit a20c534
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/material/autocomplete/autocomplete.scss
Original file line number Diff line number Diff line change
Expand Up @@ -60,4 +60,4 @@ mat-autocomplete {
div.mat-mdc-autocomplete-panel {
max-height: 55vh;
}
}
}

0 comments on commit a20c534

Please sign in to comment.