From 1bc8ec5e0f4db7d9c737e869ebd4fd13b56eeb5a Mon Sep 17 00:00:00 2001 From: jljsj33 Date: Wed, 10 Apr 2019 16:32:17 +0800 Subject: [PATCH] recover openAnimation --- components/menu/index.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/components/menu/index.tsx b/components/menu/index.tsx index c80aaffdd1..d6430d36de 100644 --- a/components/menu/index.tsx +++ b/components/menu/index.tsx @@ -305,7 +305,7 @@ class InternalMenu extends React.Component { menuProps.onClick = this.handleClick; menuProps.openTransitionName = mounted ? menuOpenAnimation : ''; } else { - menuProps.openAnimation = mounted ? menuOpenAnimation : ''; + menuProps.openAnimation = mounted && menuOpenAnimation; } // https://github.com/ant-design/ant-design/issues/8587