Skip to content

Treemap onLeafClick only returns event #1429

Open

Description

@bdegraf

Documentation here https://github.com/uber/react-vis/blob/master/docs/treemap.md says that onLeafClick "Should accept arguments (leafNode, domEvent)" but when I console.log the values returned in the callback, I only get the event.

How can I get the actual leafNode ?

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions