aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorbob <bcz@cs.brown.edu>2019-08-22 11:18:19 -0400
committerbob <bcz@cs.brown.edu>2019-08-22 11:18:19 -0400
commit7812945012c320743a4271787ad614b2011c74a3 (patch)
treef132ac6d51bf17b732587f1d50f16385c5896c08
parent8cffe031fe364e19897cfb638cffa9e4056c4343 (diff)
from last
-rw-r--r--src/client/views/nodes/FormattedTextBox.tsx2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/client/views/nodes/FormattedTextBox.tsx b/src/client/views/nodes/FormattedTextBox.tsx
index 94d9f2f66..1cc3e821f 100644
--- a/src/client/views/nodes/FormattedTextBox.tsx
+++ b/src/client/views/nodes/FormattedTextBox.tsx
@@ -374,7 +374,7 @@ export class FormattedTextBox extends DocComponent<(FieldViewProps & FormattedTe
this.unhighlightSearchTerms();
}
}, { fireImmediately: true });
- this.tryUpdateHeight();
+ setTimeout(() => this.tryUpdateHeight(), 0);
}
pushToGoogleDoc = async () => {