After initial load of slider with using padding and gap, the "next slide" has wrong width respectively the width seems good but its pushed more to the right side and overflowing the container.
If I hit next/prev slide or use method refresh() (or autoplay is true) than it's corrected.
let splide = new Splide( '.splide', { type : 'loop', padding: '181px', perPage: 1, gap: '24px', updateOnMove: true, drag: false, autoplay: false, interval: 5000, });
Checks
Version
4.1.3
Description
Hi,
After initial load of slider with using padding and gap, the "next slide" has wrong width respectively the width seems good but its pushed more to the right side and overflowing the container.
If I hit next/prev slide or use method refresh() (or autoplay is true) than it's corrected.
let splide = new Splide( '.splide', { type : 'loop', padding: '181px', perPage: 1, gap: '24px', updateOnMove: true, drag: false, autoplay: false, interval: 5000, });
Reproduction Link
https://codepen.io/luk-z-horec/pen/oNJpdWN
Steps to Reproduce
Expected Behaviour
The prev and next slide should have the same visible width.