splide icon indicating copy to clipboard operation
splide copied to clipboard

Slide width and perPage slide problem

Open aryanrajseo opened this issue 3 years ago • 1 comments

Checks

  • [X] Not a duplicate.
  • [X] Not a question, feature request, or anything other than a bug report directly related to Splide. Use Discussions for these topics: https://github.com/Splidejs/splide/discussions

Version

v3.0.0

Description

Hi, i love splide.js and I have been using an older version of splide.js and it is working perfectly, However today when i tried to update the js file, it no longer works as expected.

I have 4 slides to show per page but somehow in 3.xx.x+, it show one slide per page for 3 times.covering the full area, earlier slides used get inline width for each slide.

I have tried to debug but not able to solve it.

Any help would be really appreciated.

Reproduction Link

https://jsfiddle.net/rockingaryan/ds5n7cxh/

Steps to Reproduce

  1. Change the splide.min.js version to 3.0.0 or major to load the latest version of splide.js

Expected Behaviour

It should work normally showing 4 slides perPage and width should be added for each slide.

This is expected result, working with older version. image

After 3.0.0 image

aryanrajseo avatar Jul 19 '22 06:07 aryanrajseo

Related https://github.com/Splidejs/splide/issues/406 closed. Do i need continue using older version or perPage setting will be solved? The ticket was closed with no fixes before or any detail about the issue.

aryanrajseo avatar Jul 19 '22 07:07 aryanrajseo

gap should be 0 (number) or '0px' (string). https://jsfiddle.net/zscfp3or/

NaotoshiFujita avatar Sep 03 '22 07:09 NaotoshiFujita