diff --git a/src/block/horizontal-scroller/frontend-horizontal-scroller.js b/src/block/horizontal-scroller/frontend-horizontal-scroller.js index fb2c2994c..7282c2f39 100644 --- a/src/block/horizontal-scroller/frontend-horizontal-scroller.js +++ b/src/block/horizontal-scroller/frontend-horizontal-scroller.js @@ -68,12 +68,13 @@ class StackableHorizontalScroller { behavior: 'smooth', } ) + children.forEach( child => { + // this enables the links after dragging + child.removeEventListener( 'click', onClickHandler, true ) + } ) + dragTimeout = setTimeout( () => { el.classList.remove( 'stk--snapping-deactivated' ) - children.forEach( child => { - // this enables the links after dragging - child.removeEventListener( 'click', onClickHandler, true ) - } ) }, 500 ) }