iOS Safari viewport height bug

#40
by adamelliotfields - opened

If the prompt (or anything) height changes on iOS Safari, it makes the viewport height keep increasing. To reproduce, go to diffusion in iOS Safari and keep pressing the random prompt button.

Need to try not using vh and using height: 100% instead. This means ensuring all parents have height: 100% as well (the reason I used vh in the first place was so I didn't have to do this).

Gradio/Spaces uses iframe-resizer. This changes the style attribute of the iframe when embedded on hf.co. I don't think there's anything we can do.

Add a link, preferably an icon, to the standalone app on hf.space.

Edit: needed to match the prompt Textbox lines with max_lines to prevent the underlying textarea from changing height.

Closed by 7049262.

adamelliotfields changed discussion status to closed

Sign up or log in to comment