explorer icon indicating copy to clipboard operation
explorer copied to clipboard

[Task]: Improve Tooltip component

Open msarcev opened this issue 2 years ago • 0 comments

Task description

Improve the generic Tooltip component to have the following aspects:

  • [ ] Add a custom hook that can give us dynamic cursor coordinates
  • [ ] Tooltip position is dynamic based on cursor position
  • [ ] Tooltip respects the "window edges", and doesn't go outside the screen or under another element
  • [ ] (Optionally) Improve support for overriding "tooltip content" styles

tip: Look into ChartTooltip for logic of "following the cursor" or "window edges awareness"

msarcev avatar Jan 25 '24 14:01 msarcev