Replies: 1 comment
-
@bozdevs thanks for your question. I can't help you without a CodeSandbox with your setup along with clear steps to reproduce the problem. Please provide that if you want help with debugging. Thanks for understanding. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Summary
I have a main wrapper. It has nothing to do with Embla Carousel. This wrapper has a maximum height, if the carousel inside exceeds this height, "Scroll" appears.
Scenario:
The problem is this:
width
value of 16px "Variable" is shortened. Since Emblacarousel does not calculate this dynamically, it acts according to the previouswidth
value and gets confused, it gets into a "BUG" and cannot perform the "snap" event, and gets a bug of "Lost Scroll width" and stays in an infinite loop.Additional information
containScroll
align
watchResize
I tried all the settings one by one with different options but I couldn't get any results.
I especially expect the default
watchResize: true
to solve this but it doesn't work either.If applicable, which variants of Embla Carousel are relevant to this question?
CodeSandbox example
No response
Beta Was this translation helpful? Give feedback.
All reactions