Skip to content

Commit

Permalink
fix: grow text input to fill available space. fixes #612
Browse files Browse the repository at this point in the history
  • Loading branch information
satya164 committed Oct 18, 2018
1 parent 5a51af4 commit b980c36
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/components/TextInput.js
Original file line number Diff line number Diff line change
Expand Up @@ -684,6 +684,7 @@ const styles = StyleSheet.create({
color: 'transparent',
},
input: {
flexGrow: 1,
paddingHorizontal: 12,
fontSize: 16,
margin: 0,
Expand Down

0 comments on commit b980c36

Please sign in to comment.