Skip to content

Commit 741f3c6

Browse files
committed
Add flexGrow to textField to keep it flexed even when in a row layout
1 parent 994e229 commit 741f3c6

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/incubator/TextField/Input.tsx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -65,6 +65,7 @@ const Input = ({
6565

6666
const styles = StyleSheet.create({
6767
input: {
68+
flexGrow: 1,
6869
textAlign: Constants.isRTL ? 'right' : 'left',
6970
// Setting paddingTop/Bottom separately fix height issues on iOS with multiline
7071
paddingTop: 0,

0 commit comments

Comments
 (0)