File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -331,7 +331,7 @@ class TextInputFlat extends React.Component<ChildTextInputProps> {
331331 } ,
332332 ] }
333333 >
334- { ! isAndroid && multiline && (
334+ { ! isAndroid && multiline && label && (
335335 // Workaround for: https://github.com/callstack/react-native-paper/issues/2799
336336 // Patch for a multiline TextInput with fixed height, which allow to avoid covering input label with its value.
337337 < View
@@ -341,7 +341,8 @@ class TextInputFlat extends React.Component<ChildTextInputProps> {
341341 StyleSheet . absoluteFill ,
342342 dense ? styles . densePatchContainer : styles . patchContainer ,
343343 {
344- backgroundColor : containerStyle . backgroundColor ,
344+ backgroundColor :
345+ viewStyle . backgroundColor || containerStyle . backgroundColor ,
345346 left : paddingLeft ,
346347 right : paddingRight ,
347348 } ,
You can’t perform that action at this time.
0 commit comments