mirror of
https://gitee.com/ant-design/ant-design.git
synced 2024-12-01 11:39:28 +08:00
recover openAnimation
This commit is contained in:
parent
c8a58396c5
commit
1bc8ec5e0f
@ -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…
Reference in New Issue
Block a user