vue-awesome-swiper
vue-awesome-swiper copied to clipboard
Error in nextTick: property 'removeEventListener' of undefined
when change datas or pages,this components will be destroyed ,then will appearence this warning.
Same problem here (after upgrading to vue-cli-3):
[Vue warn]: Error in nextTick: "TypeError: Cannot read property 'removeEventListener' of undefined"

maybe this could be a solution: https://github.com/SSENSE/vue-carousel/pull/140/commits/18ba873103cda61154e8c7b82823bf997fe6018d
Is there a solution for this?
I meet the same problem, when I change routers/pages, it will show this error:
I finally find a stupid way :
1.find resourse file : node_modules/swiper/dist/js/swiper.js or anywhere this JS file is
2.In about 5520 line,or find where the function disableDraggable definitied
before operate target we should judge whether target exist ,just like this
Edition: swiper 4.4.2
but I have no idea if your swiper.js was mix up Hope ower can fix it as soon as Possible! Thanks!
@peoplewhoneedstruggle @marcohofmann @CodLee
swiperOption: {
pagination: {
el: '.swiper-pagination',
clickable: true,
draggable: true, //add this option
dynamicBullets: true
},
我也遇到这个问题,但是解决了 背景:我是因为有个tab切换,用的是v-if,导致报这个错 解决:把v-if换成v-show
@dilovar-91 thanks ,这对我来说很有用,谢谢