Skip to content

Commit b3145ce

Browse files
committed
remove flexGrow on TextField container causing alignment issues (when wrapping View that align to left)
1 parent dff1ad5 commit b3145ce

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

src/components/inputs/TextField.js

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -680,9 +680,10 @@ function createStyles({centered, multiline, expandable}) {
680680
const inputTextAlign = Constants.isRTL ? 'right' : 'left';
681681

682682
return StyleSheet.create({
683-
container: {},
683+
container: {
684+
},
684685
innerContainer: {
685-
flexGrow: 1, // create bugs with lineHeight
686+
// flexGrow: 1, // create bugs with lineHeight
686687
flexDirection: 'row',
687688
justifyContent: centered ? 'center' : undefined,
688689
borderBottomWidth: 1,

0 commit comments

Comments
 (0)