Fixed issue boards scrolling with a lot of lists & issues

When a board has a lot of lists & issues scrolling stops the user from moving the issue to the lsat list (or any list not on screen). This changes that by making the scrollable element the board-list element. This will need re-thinking when sorting in lists is possible.
This commit is contained in:
Phil Hughes 2016-11-24 16:54:24 +00:00
parent 3e44ed3e2b
commit 141b4d28c6
2 changed files with 5 additions and 0 deletions

View File

@ -80,6 +80,7 @@
},
mounted () {
const options = gl.issueBoards.getBoardSortableDefaultOptions({
scroll: document.querySelectorAll('.boards-list')[0],
group: 'issues',
sort: false,
disabled: this.disabled,

View File

@ -0,0 +1,4 @@
---
title: Fixed issue boards scrolling with a lot of lists & issues
merge_request:
author: