Slick: Dragging the carousel triggers link click

Created on 3 Apr 2014  路  8Comments  路  Source: kenwheeler/slick

If dragging the carousel items (images wrapped in a link) with the mouse the link gets triggered on swipeEnd.

Investigating

Most helpful comment

This is still a problem for me on the latest version of slick

All 8 comments

I'll look into this. I want the interior content to remain clickable, so I'll have to check traversal on swipeEnd.

Fixed

Works like a charm :) Thank you!

If you drag one item just a little bit so that it goes back where it was when you release the mouse button, the link will be triggered. So this fix only seems to work if you drag enough for the slides to change position.

I'll look into it.

@kenwheeler any updates on this one?

This shoudl be fixed in 1.3.15

This is still a problem for me on the latest version of slick

Was this page helpful?
0 / 5 - 0 ratings

Related issues

xitongzou picture xitongzou  路  3Comments

crstauf picture crstauf  路  3Comments

REPTILEHAUS picture REPTILEHAUS  路  3Comments

yangkennyk picture yangkennyk  路  3Comments

stephane-r picture stephane-r  路  3Comments