Describe the bug
The CodeSandbox below demonstrates the problem. It has two tabs, one with Carousel and one blank. If you switch between tabs, you'll notice the tab with Carousel scrolls by itself when it's re-rendered. This only happens with the infinite option enabled.
Describe the bug The CodeSandbox below demonstrates the problem. It has two tabs, one with Carousel and one blank. If you switch between tabs, you'll notice the tab with Carousel scrolls by itself when it's re-rendered. This only happens with the infinite option enabled.
To Reproduce Steps to reproduce the behavior:
Expected behavior Don't expect any scrolling to happen by itself.
Screenshots None
Environment
npx envinfo --system --binaries --browsers --npmPackages '@brainhubeu/*'