Skip to content

Conversation

d-callan
Copy link
Collaborator

resolves #557

} else if (onClose) {
// Fallback to onClose if parent is not available
onClose();
}
Copy link
Member

@dannon dannon May 30, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks like this should be tightened up a tad -- for certain values of onClose, onNodeClick it'd be possible to exit the function without doing anything at all onClick? (not sure if this happens in our data at all, but we should just update the render condition above)

Copy link
Collaborator

@hunterckx hunterckx left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice -- I was thinking that the existing behavior seemed unintuitive. Looks like the above is resolved so I'll go ahead and merge this!

@hunterckx hunterckx merged commit f0b1f06 into main Jun 1, 2025
3 checks passed
@d-callan d-callan deleted the sunburst-panel-nav branch July 11, 2025 16:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
Archived in project
Development

Successfully merging this pull request may close these issues.

sunburst child taxa list 'subcategories' navigation confusing
3 participants