chroma-react
chroma-react copied to clipboard
Perf: Replace Tooltip library with something that doesn't create an empty portal
This is similar to https://github.com/lifeomic/chroma-react/issues/36, but specific for the <Tooltip
component. Even when the tooltip is not visible, a portal is still put in the DOM. If a page has a table with many actions, there may be 30+ portals due to this. We should look at other options instead. One of the requirements is that it needs to be fully accessible.
A few that come to mind:
- https://www.radix-ui.com/docs/primitives/components/tooltip
- https://reach.tech/tooltip