akiran / akiran/react-slick

Slide as link element is always clicked

オープン
#1,956 コメント 1 件 リアクション 1 件 担当者 0 名 GitHub で見る
主要言語
JavaScript
スター
11.9k
フォーク
2.1k
PR マージ指標
30日以内にマージされた PR はありません

説明

I have slider containing photos links. Whenever I drag any of them it redirects me.
I tried to make workaround with 'pointer-events: none;' on every slide.
There is event 'swipeEvent' which is fired when I start dragging. But there is no event indicating end of dragging.
When slide slides to another place, 'onSwipe' is fired, but it's not every case I need it for.

It can be done inside library pretty easily. Rule is the same as I wrote above, but 'pointer-events: none;' should be applied to div element with class 'slick-track'.

コントリビューションガイド

コントリビューションガイドを開く

評価

この issue はまだ評価されていません。

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。