Stop Click event after Dragging on Slider


I’ve been struggling to solve this for days now. There is a slider with clickable items at the bottom of the page. I’ve made the slider draggable. But the issue is that when the dragging stops the click action also happens on the item on which mousedown event happened. I’ve tried to adding ‘pointer-vents: none’ to the inner item after dragging starts, but in this case draggint doesn’t work at all. Any ideas on how can I solve this problem?

Guys, please check this case
@Stan @samliew @austin @PixelGeek @vincent @memetican @webdev

Here is my site Read-Only: Webflow - Duolution's Wondrous Site

Hi @parvizbayram I do not have time to figuring out how your custom slider is working and make it work in some example on my account but understanding reasons why this happened and how to fix it can be found for example here. :wink:

Good luck