Skip to content

Add freeze prop to stop dragging events #51

New issue

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

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

Already on GitHub? # to your account

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

alfonsogarciacaro
Copy link

I couldn't prevent the tree from being modified in the onChange event so this PR just adds a new prop to make it easy to stop dragging events. I didn't name the prop editable in order not to break compatibility with current code.

If you think this is a good idea, please feel free to change the prop name or modify the code in any other way.

Thanks a lot for this useful React component!

@DevAlien
Copy link

Could you try to solve the conflicts?

@alfonsogarciacaro
Copy link
Author

If someone is planning to actually merge this PR, yes ;)

@benjamindean
Copy link

@wangzuo Any plans on merging this?

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

Successfully merging this pull request may close these issues.

4 participants