From 15be1448f7c0d258b9a55b0029d6b1878c85c228 Mon Sep 17 00:00:00 2001 From: Eli White Date: Mon, 7 Oct 2019 15:30:02 -0700 Subject: [PATCH] Remove unused scrollResponderHandleTerminate from ScrollView Summary: This function doesn't exist on the scroll responder so this prop is being set to undefined. As this is an event, not setting the prop just means that nothing will listen to the event. Changelog: [Internal] Reviewed By: JoshuaGross Differential Revision: D17795678 fbshipit-source-id: 73f2c125e0868e19258b43e3a053447be3f5e768 --- Libraries/Components/ScrollView/ScrollView.js | 3 --- 1 file changed, 3 deletions(-) diff --git a/Libraries/Components/ScrollView/ScrollView.js b/Libraries/Components/ScrollView/ScrollView.js index f18f58268e9d01..39330fe2f6220a 100644 --- a/Libraries/Components/ScrollView/ScrollView.js +++ b/Libraries/Components/ScrollView/ScrollView.js @@ -1138,9 +1138,6 @@ class ScrollView extends React.Component { .scrollResponderHandleResponderReject, onResponderRelease: this._scrollResponder .scrollResponderHandleResponderRelease, - // $FlowFixMe - onResponderTerminate: this._scrollResponder - .scrollResponderHandleTerminate, onResponderTerminationRequest: this._scrollResponder .scrollResponderHandleTerminationRequest, onScrollBeginDrag: this._scrollResponder