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

automaticRearrangeAfterDropNode - play button from live demo #261

Closed
felipeboffnunes opened this issue Nov 7, 2019 · 5 comments
Closed
Assignees
Labels
documentation add documentation to the repository or the the code base

Comments

@felipeboffnunes
Copy link

I want to know how to recreate the effect of rearranging the nodes after I mode a node.
This feature is shown in the live demo by the play button.
From the documentation I haven't been able to see how to do it.

@felipeboffnunes
Copy link
Author

Note: I am using automaticRearrangeAfterDropNode = true, but it doesn't seem to make a difference. I move a node and no other node follows it.

@felipeboffnunes
Copy link
Author

Apparently you can't have nodeHighlightBehavior: true, I didn't know that from the documentation, maybe it could be an update to the docs. I will close the issue now.

@danielcaldas
Copy link
Owner

Hey, thanks a lot for digging into this @felipeboffnunes! I'm re-opening the issue so that we don't forget to document this edge case limitation properly. Cheers!

@danielcaldas danielcaldas reopened this Nov 11, 2019
@danielcaldas danielcaldas added the documentation add documentation to the repository or the the code base label Nov 11, 2019
@danielcaldas
Copy link
Owner

Also, another thing to document on automaticRearrangeAfterDropNode. It won't take effect if this property is set after the first render. It needs to be provided before the first render in order to work properly.

@danielcaldas danielcaldas changed the title Play button from live demo automaticRearrangeAfterDropNode - play button from live demo Nov 11, 2019
@danielcaldas danielcaldas self-assigned this Nov 11, 2019
@danielcaldas
Copy link
Owner

Closing this issue with #262

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation add documentation to the repository or the the code base
Projects
None yet
Development

No branches or pull requests

2 participants