Commit 08197fd5 authored by Kushal Pandya's avatar Kushal Pandya

Merge branch 'default-sortable-tolerance-option' into 'master'

Added fallback tolerance to epic tree drag

See merge request gitlab-org/gitlab!26920
parents d3469f2a ed4d7b1b
...@@ -26,7 +26,6 @@ export function getBoardSortableDefaultOptions(obj) { ...@@ -26,7 +26,6 @@ export function getBoardSortableDefaultOptions(obj) {
scrollSpeed: 20, scrollSpeed: 20,
onStart: sortableStart, onStart: sortableStart,
onEnd: sortableEnd, onEnd: sortableEnd,
fallbackTolerance: 1,
}); });
Object.keys(obj).forEach(key => { Object.keys(obj).forEach(key => {
......
...@@ -4,4 +4,5 @@ export default { ...@@ -4,4 +4,5 @@ export default {
fallbackClass: 'is-dragging', fallbackClass: 'is-dragging',
fallbackOnBody: true, fallbackOnBody: true,
ghostClass: 'is-ghost', ghostClass: 'is-ghost',
fallbackTolerance: 1,
}; };
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment