Skip to content

Jump directly between non-adjacent slides with animation, without loading all intermediate slides #8103

@paubou

Description

@paubou

Currently, when using slideTo() if
speed > 0, Swiper animates through all intermediate slides between the current index and the target. This causes that all slides in between are loaded (especially images), which can be very heavy if jumping from slide 1 to slide 60...

If speed = 0, Swiper jumps instantly to the target without traversing the intermediates — but there is no animation. And that's not what I would like.

Is there an option/trick to animate directly from the current slide to the target slide as if they were neighbours in order to avoid having to load all the in between pictures?

Thanks a lot.

Metadata

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