mirror of
https://github.com/ant-design/ant-design.git
synced 2024-11-27 20:49:53 +08:00
Fix broken animation of Menu and Collapse
This commit is contained in:
parent
f780759f91
commit
edd592cb9d
@ -13,7 +13,7 @@ function animate(node: HTMLElement, show: boolean, done: () => void) {
|
||||
node.style.opacity = '1';
|
||||
} else {
|
||||
height = node.offsetHeight;
|
||||
node.style.height = '0 px';
|
||||
node.style.height = '0px';
|
||||
node.style.opacity = '0';
|
||||
}
|
||||
},
|
||||
|
Loading…
Reference in New Issue
Block a user