jsor / jcarousel

Riding carousels with jQuery.
https://sorgalla.com/jcarousel/
MIT License
1.99k stars 736 forks source link

iOS connected carousel initial direction next or prev doesn't advance until second tap, the rest advance on one tap #805

Open JonathanSoper opened 8 years ago

JonathanSoper commented 8 years ago

Hi, thank you for this great plugin. It works really well, except one small bug on our site specifically that I've been trying to figure out and having a hard time with.

ONLY on iOS Safari, the carousel (connected carousels) doesn't advance until the second tap. So, page loads > tap once right > tap twice right > then it advances and every other next action after that works with one tap. But then, once you're going next, next, next > tap once left > tap twice left > then it goes left (prev) on every single tap after that initial double-tap.

I hope I described that clearly...

I have tried utilizing the imagesLoaded plugin by desandro to make sure that everything is loaded before jcarousel is initiated, but that didn't do the trick.

Everything else works fine in other browsers on desktop and other devices, this appears to just be an iOS Safari issue.

You can see an example if you so desire here: _http://andsf.com/project/upper-rockridge-residence/

Any help or suggestions would be greatly appreciated. :)

jsor commented 8 years ago

Did you solved the problem? Looks like it is working now on iOS.