akiran / akiran/react-slick

Slide as link element is always clicked

Abierto
#1,956 1 comentario 1 reacción 0 asignados Ver en GitHub
Lenguaje dominante
JavaScript
Estrellas
11.9k
Forks
2.1k
Métricas de merge de PR
Sin PR fusionados en 30 d

Descripción

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'.

Guía de contribución

Abrir la guía de contribución

Evaluación

Este issue todavía no se ha evaluado.

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.