Skip to content

Commit bec5fb9

Browse files
cjpeteÁlvaro Medina Ballester
authored andcommitted
The keyboard view might exist, but it might not be an element that has a scroll responder (e.g. plain RN View). (#369)
1 parent ba55dd7 commit bec5fb9

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
@@ -260,6 +260,7 @@ function KeyboardAwareHOC(
260260
getScrollResponder = () => {
261261
return (
262262
this._rnkasv_keyboardView &&
263+
this._rnkasv_keyboardView.getScrollResponder &&
263264
this._rnkasv_keyboardView.getScrollResponder()
264265
)
265266
}

0 commit comments

Comments
 (0)