react-slick icon indicating copy to clipboard operation
react-slick copied to clipboard

nextArrow is disabled too soon in centerMode when infinite = false

Open rafalmaciejewski opened this issue 10 years ago • 0 comments

This is my config:

infinite: false,
centerMode: true,
arrows: true,
slidesToShow: 5,
slidesToScroll: 1

If I have 5 slides the button will be initially disabled, thus making two last slides not visible. If I have 6 slides it will disable after first scroll.

rafalmaciejewski avatar Mar 29 '16 09:03 rafalmaciejewski