Add max displayed rows number in TextEditor to avoid dialog mis positioning

This commit is contained in:
Florian Rival
2019-03-07 23:05:28 +00:00
parent aaeaa8338b
commit c31de12048

View File

@@ -114,6 +114,8 @@ export default class TextEditor extends React.Component<EditorProps, void> {
}
fullWidth
multiLine
rows={8}
rowsMax={8}
value={textObject.getString()}
onChange={(e, value) => {
textObject.setString(value);