2
0
nztqa 8 жил өмнө
parent
commit
060278f9b8

+ 1 - 1
client/components/boards/boardBody.js

@@ -75,7 +75,7 @@ BlazeComponent.extendComponent({
         // the user will legitimately expect to be able to select some text with
         // the user will legitimately expect to be able to select some text with
         // his mouse.
         // his mouse.
         const noDragInside = ['a', 'input', 'textarea', 'p', '.js-list-header'];
         const noDragInside = ['a', 'input', 'textarea', 'p', '.js-list-header'];
-        if ($(evt.target).closest(noDragInside.join(',')).length === 0) {
+        if ($(evt.target).closest(noDragInside.join(',')).length === 0 && $('.lists').prop('clientHeight') > evt.offsetY) {
           this._isDragging = true;
           this._isDragging = true;
           this._lastDragPositionX = evt.clientX;
           this._lastDragPositionX = evt.clientX;
         }
         }