ganlanyuan / tiny-slider

Vanilla javascript slider for all purposes.
MIT License
5.24k stars 786 forks source link

Swipe doesn't work properly on Ipad #299

Open m-grzybek-first10 opened 5 years ago

m-grzybek-first10 commented 5 years ago

Issue description:
Sometimes on swipe, carousel won't go to another slide. It just stays in the middle of event. Problem occurs only on Ipad. See below: ipad-issue

Demo link/slider setting:

http://developer.royalcanin.com/test.html

Options passed to slider: let options = { container: galleryWrapper, slideBy: 'page', loop: false, items: 6, mouseDrag: true, controlsText: [ ${prevlabel}, ${nextlabel} ], items: 4 };

Tiny-slider version:

"tiny-slider": "^2.8.7" Browser name && version:

Safari on Ipad OS name && version:
ios

TitanFighter commented 5 years ago

Try to set swipeAngle: 45

m-grzybek-first10 commented 5 years ago

Tried that before, doesn't work.

ganlanyuan commented 5 years ago

@m-grzybek-first10 I tried your demo on an ipad, but it's too complex and runs slow. Do you think you can make just one slider? Thanks