Skip to content

Commit 452eaa0

Browse files
slorberalvaromb
authored andcommitted
Add missing ref.props.scrollIntoView method (#258)
The imperative method is not exposed currently
1 parent 2957b27 commit 452eaa0

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

lib/KeyboardAwareHOC.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -410,6 +410,7 @@ function listenToKeyboardEvents(ScrollableComponent: React$Component) {
410410
scrollToEnd={this.scrollToEnd}
411411
scrollForExtraHeightOnAndroid={this.scrollForExtraHeightOnAndroid}
412412
scrollToFocusedInput={this.scrollToFocusedInput}
413+
scrollIntoView={this.scrollIntoView}
413414
resetKeyboardSpace={this._resetKeyboardSpace}
414415
handleOnScroll={this._handleOnScroll}
415416
onScroll={Animated.forkEvent(onScroll,this._handleOnScroll)}

0 commit comments

Comments
 (0)