From 060278f9b808a4bd472f491a9d8038685512069a Mon Sep 17 00:00:00 2001 From: nztqa Date: Tue, 6 Jun 2017 14:57:40 +0900 Subject: Fix Drag Board To Scroll --- client/components/boards/boardBody.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'client/components/boards') diff --git a/client/components/boards/boardBody.js b/client/components/boards/boardBody.js index 370db13b..b3880c61 100644 --- a/client/components/boards/boardBody.js +++ b/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; } -- cgit v1.2.3-1-g7c22