Skip to content

Commit

Permalink
fix: supporting empty labels (callstack#3215)
Browse files Browse the repository at this point in the history
  • Loading branch information
VictorioMolina authored Jun 25, 2022
1 parent 0bc1c7e commit 1102870
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/TextInput/TextInputFlat.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -308,7 +308,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.
<View
Expand Down

0 comments on commit 1102870

Please sign in to comment.