Browse Source

fix: dropdown position not correct #2359

pull/1775/head
tanjinzhou 4 years ago
parent
commit
1cf4e29594
  1. 5
      components/vc-dropdown/src/Dropdown.jsx

5
components/vc-dropdown/src/Dropdown.jsx

@ -138,9 +138,10 @@ export default {
if (
this.$refs.trigger &&
this.$refs.trigger._component &&
this.$refs.trigger._component.alignInstance
this.$refs.trigger._component.$refs &&
this.$refs.trigger._component.$refs.alignInstance
) {
this.$refs.trigger._component.alignInstance.forceAlign();
this.$refs.trigger._component.$refs.alignInstance.forceAlign();
}
}
}

Loading…
Cancel
Save