Skip to content

Commit

Permalink
Update src/components/TextInput/BaseTextInput.js
Browse files Browse the repository at this point in the history
Co-authored-by: Vit Horacek <36083550+mountiny@users.noreply.github.com>
  • Loading branch information
hannojg and mountiny authored Jul 3, 2023
1 parent 74dc4d0 commit 3b6900c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/TextInput/BaseTextInput.js
Original file line number Diff line number Diff line change
Expand Up @@ -252,7 +252,7 @@ function BaseTextInput(props) {
style={[props.autoGrowHeight && styles.autoGrowHeightInputContainer(textInputHeight, maxHeight), !isMultiline && styles.componentHeightLarge, ...props.containerStyles]}
>
<View
// When autoGrowHeight is true we calculate the width for the textInput, so It will break lines properly
// When autoGrowHeight is true we calculate the width for the textInput, so it will break lines properly
// or if multiline is not supplied we calculate the textinput height, using onLayout.
onLayout={onLayout}
style={[
Expand Down

0 comments on commit 3b6900c

Please sign in to comment.