diff --git a/lib/polyfill/Ripple.js b/lib/polyfill/Ripple.js
index 9645b63..585847b 100644
--- a/lib/polyfill/Ripple.js
+++ b/lib/polyfill/Ripple.js
@@ -39,7 +39,8 @@ export default class Ripple extends Component {
= 1500 ? 500 : duration
+ duration: duration < 300 || duration >= 600 ? 300 : duration
}).start();
Animated.timing(this.state.fadeValue, {
- toValue: .2,
- duration: 200
+ toValue: .8,
+ duration: 100
}).start();
});
};
@@ -121,13 +122,13 @@ export default class Ripple extends Component {
});
Animated.timing(this.state.scaleValue, {
- toValue: 0.001,
- duration: 100
+ toValue: 0,
+ duration: 1
}).start();
Animated.timing(this.state.fadeValue, {
- toValue: 0.001,
- duration: 100,
+ toValue: 0,
+ duration: 1,
}).start();
};
@@ -157,4 +158,4 @@ const styles = {
ripple: {
position: 'absolute'
}
-};
\ No newline at end of file
+};