Skip to content

onSelect only called once when allowMultiSelect set to true #344

@andreirawan97

Description

@andreirawan97

Describe the bug
Just like the title, the onSelect prop only called once when allowMultiSelect set to true. While when set to false, the onSelect prop can call multiple times. I'm developing a double click node feature where it needs the onSelect prop to called multiple times.

To Reproduce
Steps to reproduce the behavior:

  1. Set allowMultiSelect to true or just leave it as default
  2. Multiple clicks on a node
  3. onSelect only called once.

Expected behavior
onSelect called multiple times

Screenshots
No screenshot

Desktop (please complete the following information):

  • OS: MacOS
  • Browser Chrome
  • Version 8.1.0

Additional context
Add any other context about the problem here.

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