Contentful logo

Contentful Community

Help with sdk.window.startAutoResizer()

I created a UI extension where you can click a dropdown and add entries.

I noticed that sdk.window.startAutoResizer() doesn’t always work properly:

  • A lot of times, when adding a new entry, the iframe’s height doesn’t change, which hides some of the content.
  • When opening the dropdown, I have change the body’s minHeight manually to adapt to the height of the dropdown.

Do you have any tips to handle these issues? Would really appreciate some help here.