We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7184885 commit cbce86fCopy full SHA for cbce86f
Sample/App.tsx
@@ -126,7 +126,8 @@ class App extends Component<any, StateType> {
126
borderWidth: 1,
127
borderRadius: 2,
128
paddingLeft: 5,
129
- maxHeight: 300, // maxHeight is recommended to multiline
+ // maxHeight is recommended for multiline, to prevent infinite grown
130
+ maxHeight: multiline ? 300 : undefined,
131
}}
132
ref={ref}
133
value={this.state.inputsValues[ref] || ''}
0 commit comments