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

add allowtransparency to the components iframe #7315

Closed
2 tasks done
webcoderz opened this issue Sep 12, 2023 · 10 comments
Closed
2 tasks done

add allowtransparency to the components iframe #7315

webcoderz opened this issue Sep 12, 2023 · 10 comments
Labels
feature:custom-components type:enhancement Requests for feature enhancements or new features

Comments

@webcoderz
Copy link

Checklist

  • I have searched the existing issues for similar feature requests.
  • I added a descriptive title and summary to this issue.

Summary

it would be nice to add allow transparency to the iframes that are used with components, if setting a custom background and using components it leaves a long black bar across the entire page and forbids you from setting background-color:transparent in the css to remove it.

Why?

the black bars left by a component when changing to custom background are ugly

How?

No response

Additional Context

No response

@webcoderz webcoderz added the type:enhancement Requests for feature enhancements or new features label Sep 12, 2023
@github-actions
Copy link

To help Streamlit prioritize this feature, react with a 👍 (thumbs up emoji) to the initial post.

Your vote helps us identify which enhancements matter most to our users.

Visits

@webcoderz
Copy link
Author

Bump

@nomad-vagabond
Copy link

I have an issue with the transparent background but it only appeared once I upgraded to v1.29.0
Created an issue #7813

@webcoderz
Copy link
Author

Yep this is exactly same problem I ran into , it's impossible to alter the the iframe that these things are run in it was causing me issues when I was using custom components and a custom background wallpaper

@sfc-gh-jcarroll
Copy link
Collaborator

I saw the related issue was fixed in 1.30 with #7821

Can you confirm if this issue still applies?

@erikvanzijst
Copy link

@sfc-gh-jcarroll it's not fixed.

@sfc-gh-jcarroll
Copy link
Collaborator

Could you add a quick screenshot or video of what you are seeing? And if it's possible to include Streamlit version, browser and code snippet that would be incredibly helpful too. Thanks!

@erikvanzijst
Copy link

Hi @sfc-gh-jcarroll, I left a screenshot on the other issue (#7821).

The code is here: https://github.com/erikvanzijst/music/blob/erik/visualization/Music.py#L102-L105

It's running streamlit 1.31.0

@sfc-gh-jcarroll
Copy link
Collaborator

I'm going to close this as a duplicate of #7813. If there's a different ask here besides fixing #7813 (which I reopened and linked to the relevant comments), please help make it clearer. Thanks!

@sfc-gh-jcarroll sfc-gh-jcarroll closed this as not planned Won't fix, can't repro, duplicate, stale Feb 23, 2024
@webcoderz
Copy link
Author

lol the other one's a duplicate of this one but I get your point.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature:custom-components type:enhancement Requests for feature enhancements or new features
Projects
None yet
Development

No branches or pull requests

5 participants