Replies: 1 comment 1 reply
-
We had this exact issue before, which led to the creation of the I'm not sure which would be best: creating a single tooltip prop with the object containing all of the relevant It would be great if you could do a draft PR, and we'll discuss further ideas there. |
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
-
Hi, thank you for the great work en react-tooltip V5.
After reading some of the code, I found that the positioning in v5 is done with the amazing floating-ui library, great choice !
However, middleware array passed to floating-ui computation is hardcoded in react-tooltip package, allowing no configuration. Is there any plan to open up this configuration to the external API of react-tooltip.
I understand that it would need to expose the internal API of floating-ui, demanding more maintenance work, but there are some concrete use cases which cannot be done with react-tooltip such as using the size optimizer or a most-space strategy, and those can be enabled very easily.
I could create a PR for that feature if the idea suits you
Beta Was this translation helpful? Give feedback.
All reactions