Explorar o código

Fix Drag Board To Scroll

nztqa %!s(int64=8) %!d(string=hai) anos
pai
achega
060278f9b8
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      client/components/boards/boardBody.js

+ 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
         // his mouse.
         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._lastDragPositionX = evt.clientX;
         }