Skip to content

loop with perMove cant loop correctly right side #813

Description

@radosek

Checks

Version

v4.0.6

Description

When SplideJS is set to loop and perMove same as the perPage, looping with the right arrow does not work after it loops to the end. If we use other type or if we add focus: 0, it works fine.

{
  type: "loop",
  perPage: 5,
  perMove: 5
}

Reproduction Link

https://woocore.oxyninja.com/product/fresh-retro-bt-speaker/

Steps to Reproduce

_ON_YOUMAYLIKE.destroy();
var _ON_YOUMAYLIKE = new Splide("#-oxyninja_slider-292-126 .splide", {
	type: "loop",
	perPage: 5,
	perMove: 5,
});
_ON_YOUMAYLIKE.mount();

Expected Behaviour

It should loop in the same way as we click/loop with a left arrow.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions