Skip to content

Commit f568a26

Browse files
joshuapintergitim
authored andcommitted
Use bounce Easing for animation.
It’s a little more playful. I like that. Also lengthed the animation to 300 so it feels more natural. Tested out elastic (no worky on Android), ease, inout, quad. I like this one the best.
1 parent e263f49 commit f568a26

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

examples/Basic/index.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -113,8 +113,8 @@ class Row extends Component {
113113
componentWillReceiveProps(nextProps) {
114114
if (this.props.active !== nextProps.active) {
115115
Animated.timing(this._active, {
116-
duration: 100,
117-
easing: Easing.out(Easing.quad),
116+
duration: 300,
117+
easing: Easing.bounce,
118118
toValue: Number(nextProps.active),
119119
}).start();
120120
}

0 commit comments

Comments
 (0)