Skip to content

fix: preserve visible picks in pointer pools - #2479

Open
yuxino wants to merge 1 commit into
observablehq:mainfrom
febug:fix/keep-pointer-pool-picks
Open

yuxino wants to merge 1 commit into
observablehq:mainfrom
febug:fix/keep-pointer-pool-picks

Conversation

@yuxino

@yuxino yuxino commented Nov 14, 2026

Copy link
Copy Markdown

Hovering near a point can hide its tooltip when another mark has a smaller radius and finds nothing. A mark with pool: false can also disappear when a pooled tip renders before it. Both behaviors showed up in 0.6.19.

Rank only pointers that found a point, and let each mark decide whether to use the shared pool. Faceted marks that opt out still choose one focus across their own facets.

observable-plot-pointer-pooling-before-after.mp4

The three new cases fail on main and pass with the fix. I also checked the two behaviors with real mouse movement in Chromium against the published 0.6.19 bundle and the patched build. The full tests, lint, type check, formatting, and package and docs builds passed locally.

Fixes #2475.

This branch has not been deployed

No deployments
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

Successfully merging this pull request may close these issues.

Pointer pooling in 0.6.18 hides picks that 0.6.17 showed

1 participant