File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -369,7 +369,7 @@ function KeyboardAwareHOC(
369
369
keyboardSpace -= _KAM_DEFAULT_TAB_BAR_HEIGHT
370
370
}
371
371
this . setState ( { keyboardSpace } )
372
- const currentlyFocusedField = TextInput . State . currentlyFocusedField ( )
372
+ const currentlyFocusedField = TextInput . State . currentlyFocusedInput ? findNodeHandle ( TextInput . State . currentlyFocusedInput ( ) ) : TextInput . State . currentlyFocusedField ( )
373
373
const responder = this . getScrollResponder ( )
374
374
if ( ! currentlyFocusedField || ! responder ) {
375
375
return
@@ -492,7 +492,7 @@ function KeyboardAwareHOC(
492
492
}
493
493
494
494
update = ( ) => {
495
- const currentlyFocusedField = TextInput . State . currentlyFocusedField ( )
495
+ const currentlyFocusedField = TextInput . State . currentlyFocusedInput ? findNodeHandle ( TextInput . State . currentlyFocusedInput ( ) ) : TextInput . State . currentlyFocusedField ( )
496
496
const responder = this . getScrollResponder ( )
497
497
498
498
if ( ! currentlyFocusedField || ! responder ) {
You can’t perform that action at this time.
0 commit comments