Skip to content

Commit

Permalink
Fix broken animation of Menu and Collapse
Browse files Browse the repository at this point in the history
  • Loading branch information
afc163 committed Dec 8, 2017
1 parent f780759 commit edd592c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion components/_util/openAnimation.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -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';
}
},
Expand Down

1 comment on commit edd592c

@afc163
Copy link
Member Author

@afc163 afc163 commented on edd592c Dec 8, 2017

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

把展开动画搞没了。

Please sign in to comment.