woocommerce / FlexSlider

An awesome, fully responsive jQuery slider plugin
http://www.woocommerce.com/flexslider/
GNU General Public License v2.0
4.92k stars 1.7k forks source link

Swiping on iPhone causes slideshow to stop playing #1249

Open estockwellalpert opened 9 years ago

estockwellalpert commented 9 years ago

I'm not sure if this issue has been addressed already, but I noticed that when I swipe to the next slide on an iPhone, the slideshow stops playing. I can continue to swipe to the next slide manually, but it no longer plays on its own. Furthermore, the slideshow stops playing any time I touch the image, regardless of whether I actually swipe or not. Is there a setting I need to add to make it keep playing after being touched?

cvn commented 9 years ago

Try setting pauseOnAction to false.

$('.flexslider').flexslider({
  pauseOnAction: false
});

If that doesn't resolve it, you may also want to try setting pauseOnHover to false, since iOS can interpret taps as hover events.