ui icon indicating copy to clipboard operation
ui copied to clipboard

Carousel calculates slidesPerPage wrong

Open duannx opened this issue 3 years ago • 0 comments

Problem

When using slidesPerPage: auto with adding a margin-right to .carousel__slide the Carousel calculates the number of slides per page wrong. See this JS Fiddle

Actual behavior

The first page shows slides 1, 2, 3. After clicking the next button, the second page shows slides 3, 4, 5

Expected behavior

The first page shows slides 1, 2, 3. After clicking the next button, the second page shows slides 4, 5, 6

duannx avatar Jul 11 '22 10:07 duannx