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

Request to support Floating-UI "virtual elements" for sl-popup. #1433

Closed
3 tasks done
grokwich opened this issue Jul 7, 2023 · 1 comment
Closed
3 tasks done

Request to support Floating-UI "virtual elements" for sl-popup. #1433

grokwich opened this issue Jul 7, 2023 · 1 comment
Assignees
Labels
feature Feature requests.

Comments

@grokwich
Copy link
Contributor

grokwich commented Jul 7, 2023

What issue are you having?

Would like to be able to position a popup at an arbitrary location.

This could simulate "fixed" positioning, and to support use cases such as context menu's positioned by the current mouse pointer position.

Here is a discussion thread that motivated the request.

Is a position:fixed popup possible?

Tasks

Describe the solution you'd like

The suggestion is to leverage the existing sl-popup implementation lib (floating-ui)...
https://floating-ui.com/docs/virtual-elements

@grokwich grokwich added the feature Feature requests. label Jul 7, 2023
@claviska
Copy link
Member

Added in #1449.

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

No branches or pull requests

2 participants