Fix edit animation

This commit is contained in:
Chi Vinh Le
2017-09-12 20:58:33 +07:00
parent f2804f2394
commit d8ca9dfb07
2 changed files with 5 additions and 0 deletions
@@ -1,3 +1,7 @@
.root {
position: relative;
}
.bodyLeave {
position: absolute;
width: 100%;
@@ -7,6 +7,7 @@ export default ({children, body}) => {
return (
<CSSTransitionGroup
component={'div'}
className={styles.root}
transitionName={{
enter: styles.bodyEnter,
enterActive: styles.bodyEnterActive,