diff --git a/package.json b/package.json index 9fc4d68..96d7570 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@tp/tp-sortable", - "version": "2.1.1", + "version": "2.1.2", "description": "", "main": "tp-sortable.js", "scripts": { diff --git a/tp-sortable.js b/tp-sortable.js index 49abb16..f8a4ef4 100644 --- a/tp-sortable.js +++ b/tp-sortable.js @@ -95,6 +95,7 @@ class TpSortable extends EventHelpers(LitElement) { _onMouseDown(e) { this._longPressTarget = closest(e.composedPath()[0], this.handle || this.selector, true); if (this._longPressTarget) { + e.stopPropagation(); this._startX = e.detail.x; this._startY = e.detail.y; const path = e.composedPath();