Prevent Click Event (s.tl) from firing when user clicks image and drags

Avatar

Avatar
Affirm 1
Level 2
edwardb44196902
Level 2

Likes

3 likes

Total Posts

20 posts

Correct reply

1 solution
Top badges earned
Affirm 1
Validate 1
Boost 3
Boost 1
Applaud 5
View profile

Avatar
Affirm 1
Level 2
edwardb44196902
Level 2

Likes

3 likes

Total Posts

20 posts

Correct reply

1 solution
Top badges earned
Affirm 1
Validate 1
Boost 3
Boost 1
Applaud 5
View profile
edwardb44196902
Level 2

15-04-2020

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(s.tl) is fired. how can i prevent it from firing when a user is dragging/sliding through the images and only capture/fire the click(s.tl) when the user clicks it vs. sliding through?

Accepted Solutions (0)

Answers (0)