You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I've searched open issues to make sure I'm not opening a duplicate issue
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?
The text was updated successfully, but these errors were encountered:
bwong365
changed the title
Infinite scrolling behavior in a controlled carousel?
Better infinite scrolling behavior in a controlled carousel?
Dec 15, 2023
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
The text was updated successfully, but these errors were encountered: