A
A
Alexander Arbuzov2018-07-02 14:42:25
JavaScript
Alexander Arbuzov, 2018-07-02 14:42:25

Problem with slick slider on mobile?

In the mobile version of the product card slider, when you click on the "buy" button, you scroll to the next one. slide.
What could be the reason?

Answer the question

In order to leave comments, you need to log in

2 answer(s)
K
Konstantin Perov, 2018-07-02
@sqrdeer

Can click be counted for the parent (When clicked, the transition to the next slide occurs)?
Try .stopPropagation() and .preventDefault() on click event

R
Rico Man, 2018-07-02
@nazariy_mokriy

I don't remember exactly, but try putting: focusOnSelect: false

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question