Browse Source

fix: dropdown submenu error #4205

refactor-list
tangjinzhou 3 years ago
parent
commit
f9e6217bc9
  1. 2
      components/vc-align/Align.tsx

2
components/vc-align/Align.tsx

@ -196,7 +196,7 @@ export default defineComponent({
return () => {
const child = slots?.default();
if (child) {
return cloneElement(child[0], { ref: nodeRef });
return cloneElement(child[0], { ref: nodeRef }, true, true);
}
return child && child[0];
};

Loading…
Cancel
Save