mirror of
https://gitee.com/ant-design/ant-design.git
synced 2024-12-11 10:05:07 +08:00
menu openAnimation use object
This commit is contained in:
parent
1bc8ec5e0f
commit
278fcfdf41
@ -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