fix: Dropdown not auto adjust placement, close #5391

pull/5407/head
tangjinzhou 2022-03-24 21:19:35 +08:00
parent 2feab99b89
commit e7fb72ce90
1 changed files with 1 additions and 0 deletions

View File

@ -136,6 +136,7 @@ const Dropdown = defineComponent({
const builtinPlacements = getPlacements({
arrowPointAtCenter: typeof arrow === 'object' && arrow.pointAtCenter,
autoAdjustOverflow: true,
});
const dropdownProps = omit(
{