We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a61638a commit adb40f4Copy full SHA for adb40f4
src/core/events/onResize.js
@@ -44,7 +44,9 @@ export default function onResize() {
44
if (swiper.autoplay && swiper.autoplay.running && swiper.autoplay.paused) {
45
clearTimeout(timeout);
46
timeout = setTimeout(() => {
47
- swiper.autoplay.resume();
+ if (swiper.autoplay && swiper.autoplay.running && swiper.autoplay.paused) {
48
+ swiper.autoplay.resume();
49
+ }
50
}, 500);
51
}
52
// Return locks after resize
0 commit comments