Skip to content

Commit 7363b98

Browse files
author
Chris Johnson
committed
fix(FadeInOut): Fix regression caused by changing status values
Opacity vaues have to be 0 other than entered for appear to work properly
1 parent c984341 commit 7363b98

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/animations/FadeInOut/index.jsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,13 +13,13 @@ const statusStyles = {
1313
opacity: 1,
1414
},
1515
entering: {
16-
opacity: 1,
16+
opacity: 0,
1717
},
1818
exited: {
1919
opacity: 0,
2020
},
2121
exiting: {
22-
opacity: 0,
22+
opacity: 1,
2323
},
2424
};
2525

0 commit comments

Comments
 (0)