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",
overlayY: "top",
},
// Fallback position: show above the trigger
{
originX: "end",
originY: "bottom",
overlayX: "end",
overlayY: "top",
originX: "start",
originY: "top",
overlayX: "start",
overlayY: "bottom",
},
])
.withLockedPosition(true)