Skip to content

Commit 32956e4

Browse files
fix(menu): pass motion name to collapseMotion (#7130)
1 parent a4eaa60 commit 32956e4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

‎components/menu/src/Menu.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -341,7 +341,7 @@ export default defineComponent({
341341
const rootPrefixCls = computed(() => getPrefixCls());
342342
const defaultMotions = computed(() => ({
343343
horizontal: { name: `${rootPrefixCls.value}-slide-up` },
344-
inline: collapseMotion,
344+
inline: collapseMotion(`${rootPrefixCls.value}-motion-collapse`),
345345
other: { name: `${rootPrefixCls.value}-zoom-big` },
346346
}));
347347

0 commit comments

Comments
 (0)