You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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:
Set allowMultiSelect to true or just leave it as default
Multiple clicks on a node
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.
The text was updated successfully, but these errors were encountered:
harchcode
added a commit
to harchcode/react-digraph
that referenced
this issue
Dec 8, 2022
Describe the bug
Just like the title, the
onSelect
prop only called once whenallowMultiSelect
set to true. While when set to false, theonSelect
prop can call multiple times. I'm developing a double click node feature where it needs theonSelect
prop to called multiple times.To Reproduce
Steps to reproduce the behavior:
allowMultiSelect
to true or just leave it as defaultonSelect
only called once.Expected behavior
onSelect
called multiple timesScreenshots
No screenshot
Desktop (please complete the following information):
Additional context
Add any other context about the problem here.
The text was updated successfully, but these errors were encountered: