Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Issue with component iframe height #33

Open
costika1234 opened this issue Mar 10, 2024 · 1 comment
Open

Issue with component iframe height #33

costika1234 opened this issue Mar 10, 2024 · 1 comment

Comments

@costika1234
Copy link

The input field is way too tall in this current implementation as per the attached screenshot below:

Screenshot 2024-03-10 at 11 31 03

It looks like Streamlit.setFrameHeight(73) doesn't actually set the iframe height correctly. Adding

window.addEventListener("load", () => {
    window.setTimeout(function() {
        Streamlit.setFrameHeight(73)
    }, 0)
})

seems to help, but the component is still very tall most of the times...

Any other ideas?

@msaaduet98
Copy link

msaaduet98 commented Jun 21, 2024

Any leads on this issue?
@blackary @msabramo

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants