fix doc & example transition opacity from .99 to 1

The initial thought was that an opacity animation from 0.01 to 1 causes trouble on some browser. But after testing on opera 12.15, ff 23, ie 10, chrome 30, desktop/mobile safari 7 and chrome android I confirm this works.
This commit is contained in:
Cheng Lou
2013-10-31 17:35:38 -04:00
committed by Paul O’Shannessy
parent c1c7a601dd
commit fb1a072739
2 changed files with 3 additions and 3 deletions
+2 -2
View File
@@ -67,7 +67,7 @@ You can use these classes to trigger a CSS animation or transition. For example,
}
.example-enter.example-enter-active {
opacity: 0.99;
opacity: 1;
}
```
@@ -75,7 +75,7 @@ You'll notice that when you try to remove an item `ReactTransitionGroup` keeps i
```css
.example-leave {
opacity: 0.99;
opacity: 1;
transition: opacity .5s ease-in;
}
+1 -1
View File
@@ -20,7 +20,7 @@
.example-enter.example-enter-active,
.example-leave {
margin-left: 0;
opacity: 0.99;
opacity: 1;
}
.animateExample {