visgl / visgl/deck.gl

[Bug] Tooltip overflows graph element

Open
#8,240 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

bug
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.
image

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.
image

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

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.