From a15ba9360bdb23e593ecc3985954549811cdd852 Mon Sep 17 00:00:00 2001 From: bobzel Date: Mon, 21 Sep 2020 09:52:36 -0400 Subject: closed text box comment box when text box is unmounted. preveted lozenge of which user had edited the box from lingering. --- src/client/views/nodes/formattedText/FormattedTextBox.tsx | 1 + 1 file changed, 1 insertion(+) (limited to 'src') diff --git a/src/client/views/nodes/formattedText/FormattedTextBox.tsx b/src/client/views/nodes/formattedText/FormattedTextBox.tsx index db4bf1086..ff2ce90b7 100644 --- a/src/client/views/nodes/formattedText/FormattedTextBox.tsx +++ b/src/client/views/nodes/formattedText/FormattedTextBox.tsx @@ -1189,6 +1189,7 @@ export class FormattedTextBox extends ViewBoxAnnotatableComponent<(FieldViewProp this.endUndoTypingBatch(); Object.values(this._disposers).forEach(disposer => disposer?.()); this._editorView?.destroy(); + FormattedTextBoxComment.Hide(); } _downEvent: any; -- cgit v1.2.3-70-g09d2