[Help]: Carousel lagging in iframe #1157
-
SummarySome users experience dropped performance with our carousel components in our docs, which use an iframe. Here's an example of our ProductCardCarousel. It's hard for me to replicate this consistently, but it does occasionally lag on random occasions, like in this video below: CleanShot.2025-03-27.at.09.55.05-2.mp4The project is open-source, and the code for the If applicable, which variants of Embla Carousel are relevant to this question?
Additional informationNo response CodeSandbox exampleNo response |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 3 replies
-
Hi @hunterbecton. |
Beta Was this translation helpful? Give feedback.
-
Hi @hunterbecton. ![]() |
Beta Was this translation helpful? Give feedback.
@hunterbecton, @sarussss is right —
container-type: inline-size;
is causing the excessive lag. Please refer to the example in the documentation for displaying multiple slides per view.