Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Slide should have the ability to differentiate between click and drag event #343

Open
AndreiBil opened this issue Sep 27, 2023 · 3 comments

Comments

@AndreiBil
Copy link

Hello,

Issue:
At this moment if inside the slide I have the image wrapped inside an tag, I cant seem to drag the image so that I can go to the next slide, it acts like a click event instead and redirects me to wherever the points.

Request:
I would like so that when I grab the image and drag it, to be considered a drag instead of a click event so that I can go to the next slide. And only if I click it, to act like a click event and redirect me the whatever the href value is.

@AndreiBil AndreiBil changed the title Slide should have the ability to be clicked on and also dragged Slide should have the ability to differentiate between click and drag event Sep 27, 2023
@DreaMinder
Copy link

That's a frustrating issue... I had something similar in Hooper, but at least I've been able to fix it by firing e.preventDefault when isSliding is true, but vue3-carousel overrides my vue-events and still clicks on a link somewhere in handleDragEnd.

I kinda fixed it by adding pointer-events: none; to .is-dragging class, I hope there will be no side effects...

@MKsenni
Copy link

MKsenni commented Apr 7, 2024

i have some problem ((

@CommanderStorm
Copy link

@AndreiBil
This issue was resolved in #396 ^^
=> can be closed

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants