Skip to content

Commit afcff32

Browse files
authored
fix(menu): pass motion name to collapseMotion (#7130)
1 parent b989cf2 commit afcff32

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: components/menu/src/Menu.tsx

+1-1
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)