-
Minimal reproducible example: https://codesandbox.io/s/embla-carousel-align-vanilla-forked-h8k6w8?file=/index.html I'm building a slider where slides can be expanded to show more information. I recreated this behaviour in the codesandbox above. I know this is kinda stretching Embla to its limits but I still want to find a solution if possible. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 3 replies
-
@tobimori I think you need to use |
Beta Was this translation helpful? Give feedback.
I managed to fix it by calling reInit from a requestAnimationFrame callback while the animation is loading and disabling the watchResize behaviour as said. Solution is implemented in the CodeSandbox above.