From e7fb72ce904878f059b9e4ebb38eb75edd7da395 Mon Sep 17 00:00:00 2001 From: tangjinzhou <415800467@qq.com> Date: Thu, 24 Mar 2022 21:19:35 +0800 Subject: [PATCH] fix: Dropdown not auto adjust placement, close #5391 --- components/dropdown/dropdown.tsx | 1 + 1 file changed, 1 insertion(+) diff --git a/components/dropdown/dropdown.tsx b/components/dropdown/dropdown.tsx index 7420bb96e..00b319f4a 100644 --- a/components/dropdown/dropdown.tsx +++ b/components/dropdown/dropdown.tsx @@ -136,6 +136,7 @@ const Dropdown = defineComponent({ const builtinPlacements = getPlacements({ arrowPointAtCenter: typeof arrow === 'object' && arrow.pointAtCenter, + autoAdjustOverflow: true, }); const dropdownProps = omit( {