From e1e2c943316a29bda989f3d96a7a40e3f57e3bab Mon Sep 17 00:00:00 2001 From: Mutasem Aldmour <4711238+mutdmour@users.noreply.github.com> Date: Mon, 17 Oct 2022 13:55:43 +0200 Subject: [PATCH] fix(editor): prevent text highlight on FireFox when mapping data (#4347) prevent highlight bug --- packages/editor-ui/src/components/Draggable.vue | 3 +++ 1 file changed, 3 insertions(+) diff --git a/packages/editor-ui/src/components/Draggable.vue b/packages/editor-ui/src/components/Draggable.vue index a10d82da8..fc63a92f2 100644 --- a/packages/editor-ui/src/components/Draggable.vue +++ b/packages/editor-ui/src/components/Draggable.vue @@ -89,6 +89,9 @@ export default Vue.extend({ return; } + e.preventDefault(); + e.stopPropagation(); + this.isDragging = false; this.draggablePosition = { x: e.pageX, y: e.pageY }; this.setDraggableStyle();