Skip to content

Commit

Permalink
Revert "Fix exception in scrollResponderScrollNativeHandleToKeyboard …
Browse files Browse the repository at this point in the history
…when ref is null"

This reverts commit 0da6a9b.
  • Loading branch information
grabbou committed Oct 29, 2019
1 parent b2d4880 commit 6f98e77
Showing 1 changed file with 1 addition and 7 deletions.
8 changes: 1 addition & 7 deletions Libraries/Components/ScrollResponder.js
Original file line number Diff line number Diff line change
Expand Up @@ -570,14 +570,8 @@ const ScrollResponderMixin = {
this.scrollResponderInputMeasureAndScrollToKeyboard,
);
} else {
const innerRef = this.getInnerViewRef();

if (innerRef == null) {
return;
}

nodeHandle.measureLayout(
innerRef,
this.getInnerViewRef(),
this.scrollResponderInputMeasureAndScrollToKeyboard,
this.scrollResponderTextInputFocusError,
);
Expand Down

0 comments on commit 6f98e77

Please sign in to comment.