We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 0870c8d commit 97fc6a6Copy full SHA for 97fc6a6
lib/KeyboardAwareMixin.js
@@ -36,6 +36,9 @@ const KeyboardAwareMixin = {
36
})
37
// Automatically scroll to focused TextInput
38
const currentlyFocusedField = TextInput.State.currentlyFocusedField()
39
+ if (!currentlyFocusedField) {
40
+ return
41
+ }
42
UIManager.viewIsAncestorOf(
43
currentlyFocusedField,
44
this.getScrollHandle().getScrollResponder().getInnerViewNode(),
0 commit comments