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

pn.Overlay() layout #6116

Open
ahuang11 opened this issue Dec 21, 2023 · 3 comments
Open

pn.Overlay() layout #6116

ahuang11 opened this issue Dec 21, 2023 · 3 comments
Labels
type: enhancement Minor feature or improvement to an existing feature
Milestone

Comments

@ahuang11
Copy link
Contributor

ahuang11 commented Dec 21, 2023

I was randomly looking at the Discourse icons, and I wonder if we can have a pn.Overlay() to overlay icons over existing widgets?
image

I imagine having a set of presets, like location to overlay, e.g. top_left, top_right, center, etc, which makes the CSS position sticky or something.

Maybe similar implementation as pn.Swipe.
https://panel.holoviz.org/reference/layouts/Swipe.html

@ahuang11 ahuang11 added TRIAGE Default label for untriaged issues type: enhancement Minor feature or improvement to an existing feature and removed TRIAGE Default label for untriaged issues labels Dec 21, 2023
@philippjfr
Copy link
Member

I don't think I like the idea of pn.Overlay very much but do want to support this use case. Will have to work if there are alternative approaches.

@philippjfr philippjfr added this to the Wishlist milestone Dec 26, 2023
@ahuang11
Copy link
Contributor Author

Related:
#5086

@ahuang11
Copy link
Contributor Author

Here's another example of pn.Overlay from holoviz/geoviews#720

image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type: enhancement Minor feature or improvement to an existing feature
Projects
None yet
Development

No branches or pull requests

2 participants