1
0
mirror of https://github.com/bitwarden/browser synced 2025-12-13 14:53:33 +00:00

fix menu trigger fallback position (#14040)

This commit is contained in:
Jordan Aasen
2025-04-01 14:15:54 -07:00
committed by GitHub
parent 027331620b
commit b0ccadcc0f

View File

@@ -48,11 +48,12 @@ export class MenuTriggerForDirective implements OnDestroy {
overlayX: "start", overlayX: "start",
overlayY: "top", overlayY: "top",
}, },
// Fallback position: show above the trigger
{ {
originX: "end", originX: "start",
originY: "bottom", originY: "top",
overlayX: "end", overlayX: "start",
overlayY: "top", overlayY: "bottom",
}, },
]) ])
.withLockedPosition(true) .withLockedPosition(true)