We've been developing a Zendesk sidebar app and want it to use the full available sidebar screen space, both in width and height. While setting the width to 100% works as expected, setting height: '100%' via
client.invoke('resize', {
width: '100%',
height: '100%'
});
has no effect – the height simply isn't respected unless we provide a fixed pixel value. But hardcoding a value doesn't adapt to the dynamic space available, which is essential for our app since it displays live contextual data.
We’ve also tried using CSS to enforce full height, including height: 100% and min-height: 100vh on the body and root elements, but that didn’t solve the issue either. We noticed that Zendesk’s own demo apps (e.g. https://github.com/zendesk/demo_apps/blob/master/v2/support/basic_ticket_sample_app/assets/iframe.html) navigate around this by setting small fixed heights, but that’s not sufficient for real-world use cases like ours.
We’re looking for a reliable and flexible way to make our app grow to fill the full height of the sidebar, without relying on fixed pixel values or triggering unwanted layout side effects like scrollbars or infinite resize loops. If there’s an official recommendation or a minimal working example, that would be very helpful.
Thank you!


Maybe I'm misunderstanding but I was able to set 100vh for a sidebar app to fill the available space. Here is the repo of the app showcasing this. Please let me know if this isn't what you're looking for.
All the best,
Erica - Sr. Dev Advocate