Skip to content

Commit

Permalink
fix(editor): prevent text highlight on FireFox when mapping data (n8n…
Browse files Browse the repository at this point in the history
…-io#4347)

prevent highlight bug
  • Loading branch information
mutdmour authored Oct 17, 2022
1 parent 82e1b0e commit d6d6109
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions packages/editor-ui/src/components/Draggable.vue
Original file line number Diff line number Diff line change
Expand Up @@ -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();
Expand Down

0 comments on commit d6d6109

Please sign in to comment.