-
Hey, I would like to ask for some help, Im trying to place a fancy apps carousel within a collapsable. I have edited a CodePen link which I used to illustrate my problem, essentially the carousel itself works but placing it within a collapsable menu seems to break the autoplay feature, I imagine this is something I have done incorrectly or overlooked something, but I thought id ask for help as I'm struggling with how to fix. Im linking to both examples below. Collapsable Code link |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
Hi, If you render Carousel in a hidden element, you must call the 'updateMetrics()' method after you make it visible. Also you need to disable automatic start of "Autoplay", just start/stop when you change Carousel visibility Demo - https://codepen.io/fancyapps/pen/ZEMRRya?editors=0010 |
Beta Was this translation helpful? Give feedback.
Hi,
If you render Carousel in a hidden element, you must call the 'updateMetrics()' method after you make it visible. Also you need to disable automatic start of "Autoplay", just start/stop when you change Carousel visibility
Demo - https://codepen.io/fancyapps/pen/ZEMRRya?editors=0010