aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorbobzel <zzzman@gmail.com>2020-09-21 09:52:36 -0400
committerbobzel <zzzman@gmail.com>2020-09-21 09:52:36 -0400
commita15ba9360bdb23e593ecc3985954549811cdd852 (patch)
treed2ffab251fcdccb90b582f777ac1579f954b167f /src
parent6ecfe48643917e5dc774ff39a84c5bef47f0d3b9 (diff)
closed text box comment box when text box is unmounted. preveted lozenge of which user had edited the box from lingering.
Diffstat (limited to 'src')
-rw-r--r--src/client/views/nodes/formattedText/FormattedTextBox.tsx1
1 files changed, 1 insertions, 0 deletions
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;