iotaledger / iotaledger/explorer
[Task]: Improve Tooltip component
Open
- Dominant language
- TypeScript
- Stars
- 57
- Forks
- 20
- PR merge metrics
- No merged PRs in 30d
Description
### 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"
Contributor guide
Assessment
This issue has not been assessed yet.