[x] I've searched open issues to make sure I'm not opening a duplicate issue
[x] I have read through the docs before asking a question
[ ] I am using the latest version of nuka-carousel
Describe Your Environment
What version of nuka-carousel are you using? 5.6.0
What version of React are you using? 17.0.2
Describe the Problem
We have a carousel set up as a controlled component, via slideIndex. When using wrapAround, navigating past the last slide displays the first slide, which is expected, however the scroll direction goes to the left, as opposed to the right. Is there a way to continue controlling slideIndex, but to get this to scroll in a seamless looking fashion where the first slide still comes in from the right?
Bugs and Questions
Prerequisites
Describe Your Environment
Describe the Problem
We have a carousel set up as a controlled component, via
slideIndex
. When usingwrapAround
, navigating past the last slide displays the first slide, which is expected, however the scroll direction goes to the left, as opposed to the right. Is there a way to continue controlling slideIndex, but to get this to scroll in a seamless looking fashion where the first slide still comes in from the right?Codesandbox here