From a415500825b257ea5de34be5858b7e0f84693703 Mon Sep 17 00:00:00 2001 From: Simonas Gildutis Date: Tue, 16 Jul 2019 23:06:05 +0300 Subject: [PATCH] use measure instead of measureInWindow --- lib/KeyboardAwareHOC.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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