Replies: 1 comment 5 replies
-
Popup is really meant to tether things, so this isn't a use case I considered initially. However, the You may or may not need an sl-popup::part(popup) {
left: auto !important;
top: auto !important;
/* your styles here */
} |
Beta Was this translation helpful? Give feedback.
5 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
sl-popup is primarily used to position a popup relative so some other element (and tries to maintain the relative position as the viewport scrolls), which is great.
I'm also wondering if there is any way to do the same, except for some popup scenarios, when the viewport contents scroll i would like the popup to remain fixed relative to the viewport (behavior like-a "position:fixed" popup)?
Is that possible?
Thank you.
Beta Was this translation helpful? Give feedback.
All reactions