Closed smultar closed 6 months ago
@smultar please try setting SWCminify: false
and let me know if the problem persists. If it solves the problem, please take a moment to read this. If the problem doesn't go away, please read the test case exceptions
information in the contribution guidelines in order to add the missing information in this bug report.
Best, David
The issue persists, as shown
[Removed due to content contained in the video]
I can provide access to the source code, but it's a private repository.
@smultar please create a temporary public repository with a reduced test case. Meaning with only stuff that's necessary in order to reproduce the bug and unnecessary details stripped.
Ask and you shall receive @davidjerleke .
@smultar I haven’t had the time to setup your repository locally but I found this line. You shouldn’t add any CSS transitions to the carousel container because Embla does the transition with javascript and this will break the carousel animation.
I’m not 100% sure that this is the only thing with the setup causing the problem you describe but you need to remove the CSS transition there.
Best, David
Hey @davidjerleke, you are correct, adding animations to the embla container can affect infinite scrolling.
Removing the transition effect resolves #669
Bug is related to
Embla Carousel version
v8.0.0-rc17
Describe the bug
true
. The carousel doesn't infinitely loop in the same direction, as the example previews or the generated versions. I'm expecting the slide to keep scrolling in the direction the user is dragging in. In this case, the slide stops at the end and goes in the opposite direction back to the start.CodeSandbox
Sandbox code
Steps to reproduce
Expected behavior
I'm expecting the slide to keep scrolling in the direction the user is dragging in. In this case, the slide stops at the end and goes in the opposite direction back to the start.
Additional context
The issue doesn't appear on the code-sandbox, however it does appear with NextJS