From 5e194a0e2c29239e93b32288eb42cfa19d6fda6f 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: