aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authoryipstanley <stanley_yip@brown.edu>2019-07-16 12:06:31 -0400
committeryipstanley <stanley_yip@brown.edu>2019-07-16 12:06:31 -0400
commit78faa73f1d4a315a3d76613bdcbb894e2428ee10 (patch)
tree6b2faa2d79acad153c9f69fe7543ad2f95f28158 /src
parent0b64d73bc4e9b081a820fe64649df22b65501e37 (diff)
rich text bar link dragging fixed
Diffstat (limited to 'src')
-rw-r--r--src/client/util/TooltipTextMenu.tsx1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/client/util/TooltipTextMenu.tsx b/src/client/util/TooltipTextMenu.tsx
index 9ba339285..ba3543b72 100644
--- a/src/client/util/TooltipTextMenu.tsx
+++ b/src/client/util/TooltipTextMenu.tsx
@@ -238,6 +238,7 @@ export class TooltipTextMenu {
this.linkDrag.onpointerdown = (e: PointerEvent) => {
let dragData = new DragManager.LinkDragData(this.editorProps.Document);
dragData.dontClearTextBox = true;
+ e.stopPropagation();
DragManager.StartLinkDrag(this.linkDrag!, dragData, e.clientX, e.clientY,
{
handlers: {