diff --git a/packages/components/menu/src/menu.vue b/packages/components/menu/src/menu.vue index 4eb6e921a5..b7f9cd0222 100644 --- a/packages/components/menu/src/menu.vue +++ b/packages/components/menu/src/menu.vue @@ -374,7 +374,7 @@ export default defineComponent({ }, }, [this.filteredSlot]), directives) - if (this.collapseTransition) { + if (this.collapseTransition && this.mode === 'vertical') { return h(ElMenuCollapseTransition, () => menu) } return menu