Crashes on iOS 17 #7719
schmijos
started this conversation in
Show and tell
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Swiper (v9..v11) has performance issues on iOS 17 (iPhone 13) using Safari.
If there are many images the browser will crash and reload.
The sweetspot was 225 images. With less images, it worked well enough. With more images it failed more reliably.
CleanShot.2024-09-04.at.17.36.38.mp4
I wasn't willing to go the extra mile for reproducing this issue in codesandbox, so I'm presenting the solution here.
Hopefully some poor dog can find it with Google or here searching in Github.
Solution:
If there are crashes caused by performance, you can opt-in to the CSS Scroll Snap API
using
cssMode: true
.Browser support is good enough today.
Beta Was this translation helpful? Give feedback.
All reactions