Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Task]: Improve Tooltip component #1015

Open
4 tasks
msarcev opened this issue Jan 25, 2024 · 0 comments
Open
4 tasks

[Task]: Improve Tooltip component #1015

msarcev opened this issue Jan 25, 2024 · 0 comments

Comments

@msarcev
Copy link
Collaborator

msarcev commented Jan 25, 2024

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 msarcev added the priority:3 Normal priority label Jan 25, 2024
@begonaalvarezd begonaalvarezd removed the priority:3 Normal priority label Jan 25, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants