Skip to content

fix(treemap): hit-test canvas nodes in drawing order - #2850

Open
minwookshin wants to merge 1 commit into
plouc:masterfrom
minwookshin:fix/treemap-canvas-hit-order
Open

minwookshin wants to merge 1 commit into
plouc:masterfrom
minwookshin:fix/treemap-canvas-hit-order

Conversation

@minwookshin

Copy link
Copy Markdown

Pick the topmost visible node for canvas tooltips and clicks, including when leavesOnly is false. Added regressions for nested nodes, padding, pixel ratios and disabled interactions.

Fixes #1328

Validation: 9 Cypress component tests and 12 existing TreeMap tests passed, along with the affected packages’ TypeScript builds, the Cypress spec type check, ESLint and Prettier. Browser checks used the installed Cypress 14.5.3 binary (the workspace pins 14.3.2); existing React/Enzyme deprecation warnings remain.

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.

TreeMapCanvas only displays root label in Tooltip when leavesOnly=false

1 participant