Autoresizing in slideshow component

Hi community! I’m trying to build a page with a slideshow component used to publish some variable text extracted from a dataset.
Texts are quite different and so the slideshow component must auto-resize its height accordingly to the text length.
That works fine in preview mode, but doesn’t work at all in live mode, where the component appears to lose its ability to autoresize.
Is there any workaround? Thank you.