Prevent Click Event ( from firing when user clicks image and drags



Hi all, so i'm experiencing something, I want to track click on my anchor elements, however, we have a carousel and when a user clicks and swipes/drags to the next carousel item, a click( is fired. how can i prevent it from firing when a user is dragging/sliding through the images and only capture/fire the click( when the user clicks it vs. sliding through?

Accepted Solutions (0)

Answers (0)