Skip to content

Commit

Permalink
Remove unused scrollResponderHandleTerminate from ScrollView
Browse files Browse the repository at this point in the history
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
  • Loading branch information
elicwhite authored and facebook-github-bot committed Oct 7, 2019
1 parent 021a63d commit 15be144
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions Libraries/Components/ScrollView/ScrollView.js
Original file line number Diff line number Diff line change
Expand Up @@ -1138,9 +1138,6 @@ class ScrollView extends React.Component<Props, State> {
.scrollResponderHandleResponderReject,
onResponderRelease: this._scrollResponder
.scrollResponderHandleResponderRelease,
// $FlowFixMe
onResponderTerminate: this._scrollResponder
.scrollResponderHandleTerminate,
onResponderTerminationRequest: this._scrollResponder
.scrollResponderHandleTerminationRequest,
onScrollBeginDrag: this._scrollResponder
Expand Down

0 comments on commit 15be144

Please sign in to comment.