Browse Source

fix: Dropdown not auto adjust placement, close #5391

pull/5407/head
tangjinzhou 3 years ago
parent
commit
e7fb72ce90
  1. 1
      components/dropdown/dropdown.tsx

1
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(
{

Loading…
Cancel
Save