frontend-collective / frontend-collective/react-sortable-tree

Question: Can I enable drag out but not allow dragging within the tree?

Open
#301 2 comments 0 reactions 0 assignees View on GitHub
question
Dominant language
JavaScript
Stars
5k
Forks
914
PR merge metrics
No merged PRs in 30d

Description

I have an existing application that currently searches a value entered and returns a list of nodes that can be dragged over to a new box that is used to build the where clause in a query. However, it won't let you drag within the search tree results, that data is final/read-only. The problem is if I can set canDrag to true, I can drag within the tree. Is there a way to allow for dragging outside the tree but not within the tree?

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.