ganlanyuan / tiny-slider

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

Slider crashing on iPhone 5 IOS 12.1 #523

Open renandsgn opened 4 years ago

renandsgn commented 4 years ago

Slider on drag crash. Stay everything blank if drag more than 6 times and sometimes the slide crop in half bellow link to video demonstration.

https://embed-cdn.ziggeo.com/v1/applications/6aee922ad3f285d863ead96ac1676735/videos/5eea62262800459cf5089677c51f6ac6/video.mp4?force_refresh=1578194517073

anttibull commented 4 years ago

Slider on drag crash. Stay everything blank if drag more than 6 times and sometimes the slide crop in half bellow link to video demonstration.

https://embed-cdn.ziggeo.com/v1/applications/6aee922ad3f285d863ead96ac1676735/videos/5eea62262800459cf5089677c51f6ac6/video.mp4?force_refresh=1578194517073

  • tiny Slider V2
  • Safari IOS 12.1

Page not found

Cethy commented 4 years ago

I have the same problem. iOS allow very limited memory for the browsers (tested on chrome & safari, iOS 13.3), and will simply crash when JS asks too much.

The project I'm working on was using owlCarousel, it allowed less than 30 items before crashing on swipe motion. With tiny slider, I can go up to 50-60 items before crash (and now only w/ chrome).

I believe you will not be able to do much for this in the library, it's mainly up to apple engineers to get their sh*t together.