A useFloating
hook providing two attachments
#1802
ixxie
started this conversation in
Feature Requests / Ideas
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I've noticed Bits depends on floating UI. This is quite a powerful library, and I've been contemplating writing a hook that transparently exposes their API. The idea is to offer a hook which returns two attachments:
Since attachments can be passed to components this could be quite powerful.
Prior art: a similar hook using actions.
I'd be willing to contribute this hook at some point this autumn if you think its a good idea.
Beta Was this translation helpful? Give feedback.
All reactions