vue-slick-carousel icon indicating copy to clipboard operation
vue-slick-carousel copied to clipboard

Click event on slide item being triggered when swiping

Open Stromwerk opened this issue 4 years ago • 4 comments

I have a click handler on my slide items, however it is getting triggered whenever I swipe left or right to change slides. Here is a minimal example of the bug

Clarification: Current behaviour: You use the mouse to drag and slide, however upon releasing the cursos the click event handler on the item the drag started gets pressed.

Desired behaviour: Click handler only gets triggered when the item itself is clicked, not when it's part of the drag event.

Stromwerk avatar Apr 13 '20 13:04 Stromwerk

i have same problem

matamune94 avatar Jun 12 '20 02:06 matamune94

same here

sakuriki avatar Jun 26 '20 09:06 sakuriki

I have the same problem.

guillobits avatar Oct 01 '20 12:10 guillobits

Solution

https://github.com/gs-shop/vue-slick-carousel/issues/117#issuecomment-742017081

MarekGogol avatar Dec 09 '20 20:12 MarekGogol