diff --git a/lib/KeyboardAwareHOC.js b/lib/KeyboardAwareHOC.js index 4bf0ed0..c53a8c7 100644 --- a/lib/KeyboardAwareHOC.js +++ b/lib/KeyboardAwareHOC.js @@ -380,7 +380,7 @@ function KeyboardAwareHOC( (isAncestor: boolean) => { if (isAncestor) { // Check if the TextInput will be hidden by the keyboard - UIManager.measureInWindow( + UIManager.measure( currentlyFocusedField, (x: number, y: number, width: number, height: number) => { const textInputBottomPosition = y + height