There is a pitfall for setting up a carousel.
The carousel will use the width information provided by the content mode of an item component.
If the item contains the dynamic content, it must provide the correct estimated width for the automatic content mode.