From d7a7c3d18001e8eb4a95f753dfed3807f4d8f118 Mon Sep 17 00:00:00 2001 From: Chloe Rice Date: Mon, 5 Feb 2024 14:39:43 -0500 Subject: [PATCH] Prevent weird stretch --- .../src/components/PositionedOverlay/PositionedOverlay.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/polaris-react/src/components/PositionedOverlay/PositionedOverlay.tsx b/polaris-react/src/components/PositionedOverlay/PositionedOverlay.tsx index 751225a9fa0..495ee5730fe 100644 --- a/polaris-react/src/components/PositionedOverlay/PositionedOverlay.tsx +++ b/polaris-react/src/components/PositionedOverlay/PositionedOverlay.tsx @@ -358,7 +358,7 @@ export class PositionedOverlay extends PureComponent< activatorRect, left: (preferredAlignment !== 'right' && !positionedHorizontal) || - calculatedHorizontalPosition.left !== undefined + calculatedHorizontalPosition.left ? horizontalPosition : undefined, right: