Open full view…

Swiper onClick delay

Peter Horvat
Thu, 30 Jul 2015 12:23:51 GMT

I am manually controlling one swiper with another. I use onClick handler on swiper1 and use slideTo on swiper2. There is some noticeable delay before slideTo actually starts. Is this a 300ms delay mentioned in the API? ...what is the rationale behind this delay and how can I override it? I want to slideTo immediately. Thanks!

Vladimir Kharlampidi
Thu, 30 Jul 2015 17:28:14 GMT

Use onTap if you don't need a delay

Peter Horvat
Fri, 31 Jul 2015 07:33:28 GMT

Uf, I missed that. Thanks!

Thu, 04 Jan 2018 21:28:37 GMT

Thank you Vladimir! Worked like a charm.