fix(editor): prevent text highlight on FireFox when mapping data (#4347)

prevent highlight bug
This commit is contained in:
Mutasem Aldmour 2022-10-17 13:55:43 +02:00 committed by GitHub
parent d31fbbba27
commit e1e2c94331
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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();