[fix] TouchableWithoutFeedback keyboard support

This commit is contained in:
Nicolas Gallagher
2017-07-11 09:56:18 -07:00
parent b43717e797
commit 1ca18ab056

View File

@@ -185,6 +185,8 @@ const TouchableWithoutFeedback = createReactClass({
...other,
accessible: this.props.accessible !== false,
children,
onKeyDown: this.touchableHandleKeyEvent,
onKeyUp: this.touchableHandleKeyEvent,
onResponderGrant: this.touchableHandleResponderGrant,
onResponderMove: this.touchableHandleResponderMove,
onResponderRelease: this.touchableHandleResponderRelease,