Fixes: New document creation

This commit is contained in:
Tom Moor
2019-01-19 18:14:10 -08:00
parent 5525730272
commit 4f4e55d120
4 changed files with 9 additions and 6 deletions

View File

@@ -16,7 +16,7 @@ class DocumentEditor extends React.Component<Props> {
componentDidMount() {
if (!this.props.defaultValue) {
this.focusAtStart();
setImmediate(this.focusAtStart);
}
}