onKeyboardWillHide(e) {
Animated.timing(this.state.height, {
toValue: this.listViewMaxHeight,
duration: e.duration,
easing: Easing.bezier(0.1, 0.76, 0.55, 0.9)
}).start();
},
onKeyboardWillShow(e) {
Animated.timing(this.state.height, {
toValue: this.listViewMaxHeight - (e.endCoordinates ? e.endCoordinates.height : e.end.height),
duration: e.duration,
easing: Easing.bezier(0.1, 0.76, 0.55, 0.9)
}).start();
},
-
-
Save vitalyrotari/ac37dd34c18036416213f2ad30424bc6 to your computer and use it in GitHub Desktop.
ios keyboard bezier
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment