hub-docs
hub-docs copied to clipboard
Spaces - Gradio iframe height invalid on load
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.
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.