Skip to content

Commit f9e6217

Browse files
committed
fix: dropdown submenu error #4205
1 parent edca829 commit f9e6217

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

components/vc-align/Align.tsx

+1-1
Original file line numberDiff line numberDiff line change
@@ -196,7 +196,7 @@ export default defineComponent({
196196
return () => {
197197
const child = slots?.default();
198198
if (child) {
199-
return cloneElement(child[0], { ref: nodeRef });
199+
return cloneElement(child[0], { ref: nodeRef }, true, true);
200200
}
201201
return child && child[0];
202202
};

0 commit comments

Comments
 (0)