Closed ferka123 closed 2 months ago
It doesn't occur if i remove slidesToScroll: "auto"
Thanks @ferka123 for your bug report. I wonder if this is related to?
I'll look into it when possible.
@ferka123 I've checked your CodeSandbox out and can confirm that this will be solved in the following PR:
@davidjerleke Thank you! This would be most helpful
@ferka123 this has been released in v8.0.2.
Which variants of Embla Carousel are you using?
Steps to reproduce
The bug occurs when the windows width is 325px or when i resize it to less than 325px The error:
TypeError: Cannot read properties of undefined (reading 'right')
I left a codesandbox belowExpected Behavior
I expect it to work properly on any window width
Additional Context
I use next.js 13 with styled components
What browsers are you seeing the problem on?
Chrome
Version
v. 8.0.0
CodeSandbox
https://codesandbox.io/p/devbox/funny-williams-y3cdy8
Before submitting