From af18a0c5177ac299ba4d45204851687bf39172de Mon Sep 17 00:00:00 2001 From: Victorio Molina <54834743+VictorioMolina@users.noreply.github.com> Date: Sat, 25 Jun 2022 19:47:24 +0200 Subject: [PATCH] fix: supporting empty labels (#3215) --- src/components/TextInput/TextInputFlat.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/TextInput/TextInputFlat.tsx b/src/components/TextInput/TextInputFlat.tsx index e1cc3d6bc1..c8a342695b 100644 --- a/src/components/TextInput/TextInputFlat.tsx +++ b/src/components/TextInput/TextInputFlat.tsx @@ -313,7 +313,7 @@ const TextInputFlat = ({ }, ]} > - {!isAndroid && multiline && label && ( + {!isAndroid && multiline && !!label && ( // Workaround for: https://github.com/callstack/react-native-paper/issues/2799 // Patch for a multiline TextInput with fixed height, which allow to avoid covering input label with its value.