Browse Source

recover openAnimation

pull/15995/head
jljsj33 6 years ago
parent
commit
1bc8ec5e0f
  1. 2
      components/menu/index.tsx

2
components/menu/index.tsx

@ -305,7 +305,7 @@ class InternalMenu extends React.Component<InternalMenuProps, MenuState> {
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

Loading…
Cancel
Save