Skip to content

Disappearing slides in nested Swiper #7005

Closed
@m345054

Description

Check that this is really a bug

  • I confirm

Reproduction link

https://codesandbox.io/p/sandbox/swiper-virtual-slides-forked-c68v3n?file=%2Findex.html%3A1%2C1

Bug description

Some slides of the nested horizontal swiper disappear.

I have made several attempts to rectify this, but the error still persists!
Please take a look at the reproduction link the error only exists when the inner swiper is looped.

Steps to reproduce:

Navigate through the vertical slides.
Monitor the nested horizontal Swiper.
At sporadic intervals, slides (Slide 1, Slide 2...) are found to be missing.

Expected Behavior

All slides (Slide 1 - Slide 15) should consistently be visible in the nested horizontal Swiper, irrespective of interactions or position within the vertical Swiper.

Actual Behavior

There's a sporadic disappearance of random slides from the nested horizontal Swiper. This issue's intermittency makes it elusive, but its occurrence is undeniable.

Swiper version

10.2.0

Platform/Target and Browser Versions

Windows 11 Chrome, OSX Chrome

Validations

  • Follow our Code of Conduct
  • Read the docs.
  • Check that there isn't already an issue that request the same feature to avoid creating a duplicate.
  • Make sure this is a Swiper issue and not a framework-specific issue

Would you like to open a PR for this bug?

  • I'm willing to open a PR

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions