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
docs of onNodeSelect says onNodeSelect called when a node was manually selected/deselected but
updating selectedIds array fires onNodeSelect
I've created a sandbox as an example. button click fires react-router-dom'suseNavigate hook, after the navigation selectedIds will be updated (as its state depends on query params) therefor onNodeSelect will be fired even though I haven't selected/deselected anything manually
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
Describe the bug
docs of onNodeSelect says onNodeSelect called when a node was manually selected/deselected but
updating selectedIds array fires onNodeSelect
I've created a sandbox as an example. button click fires react-router-dom's useNavigate hook, after the navigation selectedIds will be updated (as its state depends on query params) therefor onNodeSelect will be fired even though I haven't selected/deselected anything manually
To Reproduce
Steps to reproduce the behavior:
The text was updated successfully, but these errors were encountered: