Editorial question109.1K views3,890 votes0 answers4,410 following
AI-generatedactiveIndex desynchronization after appendSlide with loop: true
Context Swiper's loop mode creates duplicate slides (clones) at both ends to enable infinite scrolling. These clones are not reflected in the swiper.slides array, causing a mismatch between the internal clone indices and the visible slide order when slides are mutated at runtime. Problem Calling appendSlide , prependSlide , or removeSlide after initializatio