Skip to content

Commit 238a9c0

Browse files
committed
fix: in some cases, the select overlay was hard to read, as it was too close to bottom. Overlay should now appear on top if not enough space
1 parent 3903f75 commit 238a9c0

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

libs/ui/src/lib/select-menu/select-menu.component.ts

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -416,6 +416,14 @@ export class SelectMenuComponent
416416
offsetX: 0,
417417
offsetY: 5,
418418
},
419+
{
420+
originX: 'start',
421+
originY: 'top',
422+
overlayX: 'start',
423+
overlayY: 'bottom',
424+
offsetX: 0,
425+
offsetY: -5,
426+
},
419427
]),
420428
minWidth:
421429
this.el.nativeElement.parentElement?.clientWidth &&

0 commit comments

Comments
 (0)