A useFloating hook providing two attachments #1802
ixxie started this conversation in Feature Requests / Ideas
Replies: 2 comments 1 reply
-
| Bumping this since its been a couple of weeks... I think offering some hooks could be a nice complement to the excellent components offered by the library. |
Beta Was this translation helpful? Give feedback.
0 replies
-
| There is a plan for this, just need some more time to work through the API design for this! |
Beta Was this translation helpful? Give feedback.
1 reply
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