diff --git a/client/components/lists/list.js b/client/components/lists/list.js index f4819c9f7..59825eb00 100644 --- a/client/components/lists/list.js +++ b/client/components/lists/list.js @@ -129,6 +129,15 @@ BlazeComponent.extendComponent({ { // scroll to the right boardCanvas.scrollLeft += 15; } + if (event.pageY > boardCanvas.offsetHeight - 10) + { // scroll to the bottom + boardCanvas.scrollTop += 15; + } + if (event.pageY < 10) + { // scroll to the top + boardCanvas.scrollTop -= 15; + } + }, }, });