diff options
| author | bobzel <zzzman@gmail.com> | 2021-02-10 17:10:23 -0500 |
|---|---|---|
| committer | bobzel <zzzman@gmail.com> | 2021-02-10 17:10:23 -0500 |
| commit | 01081a8d2064127bfeccbd52dfaae10728123b9f (patch) | |
| tree | 5058b0917231605153f73f00a300157d59ecdb1f /src/client/views/nodes/formattedText/FormattedTextBox.tsx | |
| parent | 0f560a9032076d1ed096740e04a54d484ee0aaf6 (diff) | |
fixed escaping menu to not close lightbox. fixed formattedTextBox dragging of sidebar to not scroll. fixed css width of formattedTextBox text area
Diffstat (limited to 'src/client/views/nodes/formattedText/FormattedTextBox.tsx')
| -rw-r--r-- | src/client/views/nodes/formattedText/FormattedTextBox.tsx | 1 |
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 d608cc5df..81e385e95 100644 --- a/src/client/views/nodes/formattedText/FormattedTextBox.tsx +++ b/src/client/views/nodes/formattedText/FormattedTextBox.tsx @@ -614,6 +614,7 @@ export class FormattedTextBox extends ViewBoxAnnotatableComponent<(FieldViewProp const bounds = this.CurrentDiv.getBoundingClientRect(); this.layoutDoc._sidebarWidthPercent = "" + 100 * Math.max(0, (1 - (e.clientX - bounds.left) / bounds.width)) + "%"; this.layoutDoc._showSidebar = this.layoutDoc._sidebarWidthPercent !== "0%"; + e.preventDefault(); return false; } @undoBatch |
