Open krvikash35 opened 4 years ago
if we don't want extra wrapper for tooltip then either clone element or use hooks.
https://github.com/reach/reach-ui/issues/171
Tooltip
component, and child component need to forward ref.useTooltip
that accept ref to element.
left/right/top/bottom
) but align properly at runtime if required. For example if target element is on near left side of screen then position tooltip to right.