[Bug] Tooltip overflows graph element
Nobody has claimed this yet.
- Dominant language
- TypeScript
- Stars
- 14.6k
- Forks
- 2.3k
- Avg merge
- 2d 9h
- Merged PRs (30d)
- 42
Description
Description
Borderline bug, however it feels like the library should handle this case gracefully.
The tooltip generated by getTooltip should not overflow the graph like it does in the attached screenshot.
Flavors
- Script tag
- React
- Python/Jupyter notebook
- MapboxOverlay
- GoogleMapsOverlay
- CartoLayer
- ArcGIS
Expected Behavior
The tooltip should be bound to the edge of the graph element, like below.
Steps to Reproduce
A large enough tooltip is needed, with whatever data set at hand.
Environment
- Framework version: 8.9
- Browser: Chrome
- OS: MacOS
Logs
No response
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by locating the TypeScript implementation of getTooltip and reproduce the overflow in Chrome with a sufficiently large tooltip, using the issue screenshots as the expected behavior. Done means the tooltip remains bound to the graph element's edge instead of overflowing it.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- typescript
- Domain
- data-visualization, frontend
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100