Article From:

The problem is this: when you happily finish writing a tab and embedding swiper into every tab item that feels successful, you will find that only the swiper on the first tab will work forever, and the rest will work no matter how you switch, swipeR always fails to initialize, yes, just can’t scroll happily.



 observer:true,//Automatically initialize swiper when modifying swiper itself or child elementsObserveParents: true, //modify the parent element of swiper, automatically initialize swiper

When initializing swiper, add these two options and try… Thanks god! It’s a success at last!

(This article is reproduced from

Leave a Reply

Your email address will not be published. Required fields are marked *