mirror of
https://gitee.com/ant-design/ant-design.git
synced 2024-12-01 11:39:28 +08:00
Merge pull request #15997 from ant-design/recover-openAnimation
chore: menu openAnimation use object
This commit is contained in:
commit
18d99fb937
@ -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