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

add draggable prop #433

Merged
merged 1 commit into from
Jan 12, 2023
Merged

add draggable prop #433

merged 1 commit into from
Jan 12, 2023

Conversation

gouldie
Copy link
Contributor

@gouldie gouldie commented Jan 9, 2023

Added a draggable prop which can be used to disable dragging of the tree.

Additionally, added a "Draggable" checkbox to the demo.

Fixes #364

Copy link
Owner

@bkrem bkrem left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Legend, thank you for implementing this + already adding to the demo 🙏

Had some WIP for this but couldn't get it to play nice and then got busy with work. Turns out I should've just RTFM properly for d3-zoom :)

Just did some testing on my end and looks good. Need to step away right now, but will merge and get a release out with this first thing tomorrow 🚀

@bkrem bkrem merged commit fbaf149 into bkrem:master Jan 12, 2023
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

Successfully merging this pull request may close these issues.

Disable Drag
2 participants