hub-docs icon indicating copy to clipboard operation
hub-docs copied to clipboard

Spaces - Gradio iframe height invalid on load

Open catwell opened this issue 5 months ago • 1 comments

In the Spaces UI (e.g. here), the Gradio app is in an iframe that uses iframe-resizer. The height of the iframe is invalid on page load, making it impossible to scroll. Clicking a component (e.g. opening an accordion) in the Gradio app fixes it.

Image

catwell avatar Sep 16 '25 13:09 catwell

I found this, it looks like a similar problem, but here I don't have a custom frontend. Even if I remove the HTML title block I have the same issue.

catwell avatar Sep 16 '25 15:09 catwell