Skip to content

Commit bad0f80

Browse files
committed
Merge pull request wix-incubator#2 from xxllexx/patch-1
Update KeyboardAwareBase.js
2 parents 1819483 + c2160da commit bad0f80

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/KeyboardAwareBase.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ export default class KeyboardAwareBase extends React.Component {
5151
textInputRefs.forEach((textInputRef) => {
5252
if (textInputRef.isFocused()) {
5353
this._keyboardAwareView.getScrollResponder().scrollResponderScrollNativeHandleToKeyboard(
54-
React.findNodeHandle(textInputRef), 50, true);
54+
React.findNodeHandle(textInputRef), 50 + (this.props.scrollOffset || 0), true);
5555
}
5656
});
5757
}

0 commit comments

Comments
 (0)