enhance kanban & taskboard scrolling

stable
Juanfran 2016-05-27 09:00:42 +02:00
parent 69a3b3de16
commit fefb6aca10
2 changed files with 3 additions and 2 deletions

View File

@ -86,7 +86,7 @@ KanbanSortableDirective = ($repo, $rs, $rootscope) ->
$rootscope.$broadcast("kanban:us:move", itemUs, itemUs.status, newStatusId, itemIndex)
scroll = autoScroll(containers, {
margin: 20,
margin: 100,
pixels: 30,
scrollWhenOutside: true,
autoScroll: () ->

View File

@ -87,8 +87,9 @@ TaskboardSortableDirective = ($repo, $rs, $rootscope) ->
$scope.$apply ->
$rootscope.$broadcast("taskboard:task:move", itemTask, newUsId, newStatusId, itemIndex)
scroll = autoScroll([$('.taskboard-table-body')[0]], {
margin: 20,
margin: 100,
pixels: 30,
scrollWhenOutside: true,
autoScroll: () ->