mirror of
https://github.com/zhigang1992/react-navigation.git
synced 2026-02-13 22:30:41 +08:00
Properly name the gesture end prop passed in to the navigator from keyboard aware navigator
This commit is contained in:
@@ -13,7 +13,7 @@ export default (Navigator, navigatorConfig) =>
|
||||
{...this.props}
|
||||
onGestureBegin={this._handleGestureBegin}
|
||||
onGestureCanceled={this._handleGestureCanceled}
|
||||
onGestureFinish={this._handleGestureFinish}
|
||||
onGestureEnd={this._handleGestureEnd}
|
||||
onTransitionStart={this._handleTransitionStart}
|
||||
/>
|
||||
);
|
||||
@@ -34,7 +34,7 @@ export default (Navigator, navigatorConfig) =>
|
||||
this.props.onGestureCanceled && this.props.onGestureCanceled();
|
||||
};
|
||||
|
||||
_handleGestureFinish = () => {
|
||||
_handleGestureEnd = () => {
|
||||
this._previouslyFocusedTextInput = null;
|
||||
this.props.onGestureFinish && this.props.onGestureFinish();
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user