0

I'm having crashing issue on mobile when swiping owl carousel slider, especially with iphone 11 pro using safari and chrome. All other sliders works fine but one group/slider crashes the whole application when I perform swiping. I cannot debug the issue even on browserstack. I can only see it crash.

Can someone give me leads on how to fix this?

brt305
  • 7
  • 1
  • 5

1 Answers1

1

Not sure if you figured this out yet or not since it's been a few months but posting in case others have this issue.

I came across your post because I was getting the same error on iPhone 11 Pros and isolated it as coming from Owl Carousel. Your mention of having other slider work fine actually clued me into what was happening and made me realize that it must be one of the options. I tested by removing all all the options I had included in the Owl Carousel script an I stopped seeing the error on the phone. Then to identify who the problem was I added the options back 1 at a time until I got the error again. It seems that if you have loop: true, set on it causes the site to crash on iPhone 11, iPhone 11 Pro and iPhone 11 Pro Max.

Then to resolve the issue I used the responsive option to set loop to true only for desktop sizes. It's a super odd bug and hopefully Owl Carousel addresses it soon.

  • thank you for your time answering this question. since i needed a fix that time real quick, i ended up using jquery swipe. soon will be transitioning to tiny-slider the successor of owl carousel, i might also get this bug if they don't fixed it there. i'll marked this as an answer if i encounter this in the tiny-slider. take care :D – brt305 Nov 10 '20 at 20:33