Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.Sign up
appending slides on init, shows the wrong slide or wrong realIndex. #3082
This is a (multiple allowed):
What you did
I created a swiper with loop set to true, and no slides in the html. Then made a loop that added the slides on init.
I expected that the swiper would then start at the first slide and then the slides would be appended after the first slide.
After appending the slides the swiper was showing the last slide. And the