Closed akashrajum7 closed 4 months ago
Hi @akashrajum7 and thank you for your bug report.
You haven't set your markup to rtl
anywhere in your code. Here's a working sandbox. A friendly reminder: Before submitting a bug report, there's a checkbox that says the following:
So it's important to at least read about the options you're using in the docs. In your case direction, which clearly says this:
Best, David
Which variants of Embla Carousel are you using?
Steps to reproduce
When the direction is set to 'rtl' and the loop is set to true, it doesn't loop infinitely.
Expected Behavior
The slides should loop infinitely without any issues
Additional Context
I first noticed it when using in sveltekit and tried to reproduce it using codesandbox and I was able to successfully reproduce it. Since I did not have a quick example to use, I have used the react example.
What browsers are you seeing the problem on?
Chrome
Version
v8.0.0
CodeSandbox
https://codesandbox.io/p/sandbox/embla-carousel-auto-scroll-react-forked-mpdt9k
Before submitting