Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bug: Drag a node, also drag the selected node #782

Closed
o0x2a opened this issue Dec 18, 2020 · 1 comment
Closed

Bug: Drag a node, also drag the selected node #782

o0x2a opened this issue Dec 18, 2020 · 1 comment
Assignees

Comments

@o0x2a
Copy link

o0x2a commented Dec 18, 2020

When setting selectNodesOnDrag to false, dragging a non-selected node cause selected node to also get dragged.

Here is how to reproduce the bug:

  1. set selecNodesOnDrag to false
  2. select a node by clicking on it
  3. drag another node
  4. you see two nodes are moving on the pane, where should only be one

Here I added selectedNodesOnDrag to the Overview example, so you can see for yourself.
https://codesandbox.io/s/gallant-moon-75fve?file=/src/Overview/index.js

Thanks!

@moklick moklick self-assigned this Dec 18, 2020
@moklick
Copy link
Member

moklick commented Dec 18, 2020

Thanks for the report @Code-guru !

Should work with 8.2.2

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants