Skip to content

Commit a395ff2

Browse files
Merge pull request #3809 from IgniteUI/bpachilova/fix-autocomplete-settings-sample
fix(autocomplete): fix positioning and maxHeight
2 parents 6ff43dd + 9a08eb6 commit a395ff2

File tree

2 files changed

+7
-1
lines changed

2 files changed

+7
-1
lines changed

src/app/data-entries/autocomplete/movie/movie.component.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
[(ngModel)]="cinemaSelected"
77
/>
88
</igx-input-group>
9-
<igx-drop-down #townsPanel maxHeight="300px">
9+
<igx-drop-down #townsPanel maxHeight="200px">
1010
@for (town of towns; track town) {
1111
<igx-drop-down-item-group [label]="town.name">
1212
@for (cinema of town.cinemas | startsWith:cinemaSelected; track cinema) {
Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,9 @@
11
.autocomplete {
22
width: 50%;
33
}
4+
5+
:host {
6+
height: 100%;
7+
display: flex;
8+
align-items: center;
9+
}

0 commit comments

Comments
 (0)