Skip to content

Commit c22a74a

Browse files
authored
Merge pull request #32 from RomanSytnyk/main
fix: multiline TextInput
2 parents cbffaad + bfba510 commit c22a74a

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/GooglePlacesTextInput.tsx

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -689,12 +689,13 @@ const GooglePlacesTextInput = forwardRef<
689689
const styles = StyleSheet.create({
690690
container: {},
691691
input: {
692-
height: 50,
692+
flex: 1,
693693
borderRadius: 6,
694694
borderWidth: 1,
695695
paddingHorizontal: 10,
696696
backgroundColor: 'white',
697697
fontSize: 16,
698+
paddingVertical: 16,
698699
},
699700
suggestionsContainer: {
700701
backgroundColor: '#efeff1', // default background

0 commit comments

Comments
 (0)