From c4ad7db26f8c04a583be7fe261381f5548f05a71 Mon Sep 17 00:00:00 2001 From: Cheng Lou Date: Thu, 31 Oct 2013 17:35:38 -0400 Subject: [PATCH] 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. --- docs/09-addons.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/09-addons.md b/docs/09-addons.md index 30bacadc..0997336b 100644 --- a/docs/09-addons.md +++ b/docs/09-addons.md @@ -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; }