Skip to content

Commit

Permalink
fix: supporting empty labels (#3215)
Browse files Browse the repository at this point in the history
  • Loading branch information
VictorioMolina authored and lukewalczak committed Jun 25, 2022
1 parent f7014f6 commit af18a0c
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 @@ -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.
<View
Expand Down

0 comments on commit af18a0c

Please sign in to comment.