-
Hello, I am creating an extension for a CMS, so the extension can be used 2 or more times in a single page, for this reason I can't always use The problem is that if I change Uncaught TypeError: t.$wrapperEl[0] is undefined pause ../js/swiper-bundle.min.js:13 onVisibilityChange ../js/swiper-bundle.min.js:13 init ../js/swiper-bundle.min.js:13 emit ../js/swiper-bundle.min.js:13 emit ../js/swiper-bundle.min.js:13 emit ../js/swiper-bundle.min.js:13 init ../js/swiper-bundle.min.js:13 t ../js/swiper-bundle.min.js:13 t ../js/swiper-bundle.min.js:13 each ../js/swiper-bundle.min.js:13 each ../js/swiper-bundle.min.js:13 t ../js/swiper-bundle.min.js:13 Now if you also activate the loop it generates this other error in each click that is given to the navigation buttons: Uncaught TypeError: Window.getComputedStyle: Argument 1 is not an object. n ../js/swiper-bundle.min.js:13 T ../js/swiper-bundle.min.js:13 getTranslate ../js/swiper-bundle.min.js:13 loopFix ../js/swiper-bundle.min.js:13 timeout ../js/swiper-bundle.min.js:13 setTimeout handler*E ../js/swiper-bundle.min.js:13 run ../js/swiper-bundle.min.js:13 start ../js/swiper-bundle.min.js:13 init ../js/swiper-bundle.min.js:13 emit ../js/swiper-bundle.min.js:13 emit ../js/swiper-bundle.min.js:13 emit ../js/swiper-bundle.min.js:13 init ../js/swiper-bundle.min.js:13 t ../js/swiper-bundle.min.js:13 t ../js/swiper-bundle.min.js:13 each ../js/swiper-bundle.min.js:13 each ../js/swiper-bundle.min.js:13 t ../js/swiper-bundle.min.js:13 This is a BUG? am i configuring wrong? am I forced to use Thanks, here is the configuration (version 6.5.4) var swiper = new Swiper('.articles-carousel-ID', { loop: true, slidesPerView: 1, spaceBetween: 30, autoplay:{ delay:5000, }, }); Thanks |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
Fixed, the problem a duplicated selector, thanks |
Beta Was this translation helpful? Give feedback.
Fixed, the problem a duplicated selector, thanks