From e6db75b84ce43c874f39a0923d88468f58f46cb3 Mon Sep 17 00:00:00 2001 From: Brent Vatne Date: Mon, 4 Feb 2019 16:33:52 -0800 Subject: [PATCH] Properly name the gesture end prop passed in to the navigator from keyboard aware navigator --- packages/native/src/createKeyboardAwareNavigator.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/native/src/createKeyboardAwareNavigator.js b/packages/native/src/createKeyboardAwareNavigator.js index 26b6c736..e77d5fc1 100644 --- a/packages/native/src/createKeyboardAwareNavigator.js +++ b/packages/native/src/createKeyboardAwareNavigator.js @@ -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(); };