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

On Snap method doesn't triggered with existing blocks #74

Open
vladkash opened this issue Jun 2, 2020 · 2 comments
Open

On Snap method doesn't triggered with existing blocks #74

vladkash opened this issue Jun 2, 2020 · 2 comments
Assignees
Labels
question Further information is requested

Comments

@vladkash
Copy link

vladkash commented Jun 2, 2020

Hello, thank you for the library, I have an issue.

"onSnap" method has triggered when I add a new block to a flowchart, so I can resolve the result of attaching. But when I attach an existing block on the chart to another it hasn't triggered so my rules of attaching don't work.

@alyssaxuu
Copy link
Owner

Hmm you mean when rearranging the blocks? I could add this feature - what would happen if you wanted to prevent the attachment when rearranging? Should it revert to the previous parent, similar to the onRearrange method?

@alyssaxuu alyssaxuu added the question Further information is requested label Jun 2, 2020
@alyssaxuu alyssaxuu self-assigned this Jun 2, 2020
@vladkash
Copy link
Author

vladkash commented Jun 2, 2020

Yes, it should

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

No branches or pull requests

2 participants