summaryrefslogtreecommitdiffstats
path: root/client/components/boards
diff options
context:
space:
mode:
authornztqa <nztqa@users.noreply.github.com>2017-06-06 14:57:40 +0900
committernztqa <nztqa@users.noreply.github.com>2017-06-06 14:57:40 +0900
commit060278f9b808a4bd472f491a9d8038685512069a (patch)
tree0b19f10b424336a794aac18789737f01584a0b9d /client/components/boards
parenta1c0401cb45e82064a6035c0e04ec5ea1e51b6ba (diff)
downloadwekan-060278f9b808a4bd472f491a9d8038685512069a.tar.gz
wekan-060278f9b808a4bd472f491a9d8038685512069a.tar.bz2
wekan-060278f9b808a4bd472f491a9d8038685512069a.zip
Fix Drag Board To Scroll
Diffstat (limited to 'client/components/boards')
-rw-r--r--client/components/boards/boardBody.js2
1 files changed, 1 insertions, 1 deletions
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;
}