Skip to content

Commit

Permalink
fix(editor): prevent text highlight on FireFox when mapping data (#4347)
Browse files Browse the repository at this point in the history
prevent highlight bug
  • Loading branch information
mutdmour committed Oct 17, 2022
1 parent d31fbbb commit e1e2c94
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 e1e2c94

Please sign in to comment.