You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When using the core slider with the Virtual and Autoplay module, along with loop mode, initially it loads fine however it breaks after altering the slides using virtual methods.
Opening in Q&A to confirm it is an actual bug and not due to configuration, as I have a similar case in my application with the same issues shown in the demo.
Expected behaviour
When altering the virtual slides, items removed from the collection should remove any item visible on screen. It should also not break the slider.
Actual behaviour
removing the first slide from the virtual slides does not remove it from the virtual view
removing couple of slides breaks the slider (e.g. showing empty slides or repeating items on navigation change)
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Description
When using the core slider with the Virtual and Autoplay module, along with loop mode, initially it loads fine however it breaks after altering the slides using virtual methods.
Opening in Q&A to confirm it is an actual bug and not due to configuration, as I have a similar case in my application with the same issues shown in the demo.
Expected behaviour
When altering the virtual slides, items removed from the collection should remove any item visible on screen. It should also not break the slider.
Actual behaviour
Swiper version
11.0.5
Demo link
https://codesandbox.io/p/sandbox/swiper-demo-modules-issue-pzcjkh
Beta Was this translation helpful? Give feedback.
All reactions