Skip to content

Fade effect does not work with virtual slides. Strange behavior. #7730

Closed
@barrakuda099

Description

@barrakuda099

Check that this is really a bug

  • I confirm

Reproduction link

https://codesandbox.io/p/devbox/swiper-vue-effect-fade-forked-tclghq

Bug description

Fade effect does not work correctly with virtual slides. Several problems:

  1. Open link and try to go next slide a couple of times. You will see following:
  • First click on next slide button (slide occurs with transition effect)
  • Second click on next slide button (slide occurs immediately without transition and after that transition occurs for next slide)
  1. In case swiper has "loop" flag, second slide does not shown at all (white screen). To reproduce you need to go click next slide button until slide is not visible (on the second circle you will see that slide 2 is empty)
    image

Expected Behavior

No response

Actual Behavior

No response

Swiper version

11.1.12

Platform/Target and Browser Versions

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

Metadata

Assignees

No one assigned

    Labels

    Vuet0gglesLinked to the t0ggles task

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions