Is there a way to customise Sidebar app's height?

I cannot find a way to set a bigger height for my App on a sidebar. It seems to have a static height, and I would like to display a bit more without an internal scroll… Does anybody know if it is possible? Many thanks for considering my request.

Hi y_lobau!

Check out the window.startAutoResizer() function from the Contentful app sdk. You can use it like this:

import { SidebarExtensionSDK } from '@contentful/app-sdk';

interface SidebarProps {
  sdk: SidebarExtensionSDK;

  // Automatically adjust the iframe height to match the content (only once).
  useEffect(() => {
  }, []);

Hope that helps!