Open github-id01 opened 10 months ago
I meet the same question. also dynamically load. also unshift one item to the array.
but activeIndex still is zero. actually expected change to 1.
example: first slides: ['oldOne'] current activeIndex: 0
after unshift one new slides to array slides: ['unshiftOne', 'oldOne'] current activeIndex: 0❌ now display slide is 'oldOne' and now activeIndex is 0 but activeIndex should update to 1!!
Discussed in https://github.com/nolimits4web/swiper/discussions/7287