From 40495aaacb64c4cf1ec46235cb9abcbe375d40f3 Mon Sep 17 00:00:00 2001 From: Texas Toland <48431+texastoland@users.noreply.github.com> Date: Mon, 30 Jul 2018 09:00:55 -0500 Subject: [PATCH] Fix drag scrolling tasks when character has abilities (#10552) The default scroll sensitivity of the task columns is 30 px from the bottom of the screen. The collapsed spells drawer renders 32 px from the bottom of the screen intercepting most drag events. Increases the scroll sensitivity to double the height of the blocking element. Also ignores the Yarn lockfile. `yarn --ignore-engines` builds successfully and tests pass with Node 10.6.0 and MongoDB 4.0.0. --- .gitignore | 1 + website/client/components/tasks/column.vue | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/.gitignore b/.gitignore index f1d956d2e2..306a751683 100644 --- a/.gitignore +++ b/.gitignore @@ -39,6 +39,7 @@ dist-client test/client/unit/coverage test/client/e2e/reports test/client-old/spec/mocks/translations.js +yarn.lock # Elastic Beanstalk Files .elasticbeanstalk/* diff --git a/website/client/components/tasks/column.vue b/website/client/components/tasks/column.vue index ba69531d99..4d8fa21933 100644 --- a/website/client/components/tasks/column.vue +++ b/website/client/components/tasks/column.vue @@ -37,7 +37,7 @@ draggable.sortable-tasks( ref="tasksList", @update='taskSorted', - :options='{disabled: activeFilter.label === "scheduled"}', + :options='{disabled: activeFilter.label === "scheduled", scrollSensitivity: 64}', class="sortable-tasks" ) task(