diff options
author | Jacob Schatz <jschatz@gitlab.com> | 2018-01-05 01:07:59 +0300 |
---|---|---|
committer | Jacob Schatz <jschatz@gitlab.com> | 2018-01-05 01:07:59 +0300 |
commit | 6f1b4dc76b4619f538b7216ad3a10ca9336d0c2b (patch) | |
tree | 516c67f34602ea2725e92b585e039a58ff5117b2 /app/assets | |
parent | 5cd43c76e5b1ea403b9835dd9d3106f2cf6d62ac (diff) | |
parent | 18bd8b3bd00ac664c7043e14b02a1fadc8605c16 (diff) |
Merge branch 'issue-boards-scroll' into 'master'
Scroll to top/bottom in issue board when reach to edges
Closes #39709
See merge request gitlab-org/gitlab-ce!16239
Diffstat (limited to 'app/assets')
-rw-r--r-- | app/assets/javascripts/boards/components/board_list.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/assets/javascripts/boards/components/board_list.js b/app/assets/javascripts/boards/components/board_list.js index 29aeb8e84aa..84b76a6f1b1 100644 --- a/app/assets/javascripts/boards/components/board_list.js +++ b/app/assets/javascripts/boards/components/board_list.js @@ -115,7 +115,7 @@ export default { }, mounted() { const options = gl.issueBoards.getBoardSortableDefaultOptions({ - scroll: document.querySelectorAll('.boards-list')[0], + scroll: true, group: 'issues', disabled: this.disabled, filter: '.board-list-count, .is-disabled', |