Skip to content

Weird behaviour with onSelectNode #193

@sikula

Description

@sikula

Describe the bug
onSelectNode appears to be called not only when a node is selected, but even clicking on the background (or any mouseUp action).

Expected behavior
onSelectNode only called when a node is clicked

Desktop (please complete the following information):

  • OS: Linux
  • Browser: Firefox

Additional context
This CodeSandbox has the same issue

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