React-sortable-tree: How to disable tree shifting/animating when canDrop=false?

Created on 2 Mar 2018  路  2Comments  路  Source: frontend-collective/react-sortable-tree

I have two trees, only one of which will accept drops from the other.

I've disabled dropping nodes on the source tree, but the nodes still shift around/highlight if you hold a node somewhere in the source tree.

Is there a prop I can change to disable this animation?

enhancement question

Most helpful comment

@rayray currently I do not think we support this feature. However, you are welcome to submit a PR :)

We only support canDrop / canDrag

All 2 comments

@rayray currently I do not think we support this feature. However, you are welcome to submit a PR :)

We only support canDrop / canDrag

Has anyone been able to do this, it seems like an important feature for UX

Was this page helpful?
0 / 5 - 0 ratings

Related issues

bigjujube picture bigjujube  路  4Comments

oarashi picture oarashi  路  5Comments

xmhscratch picture xmhscratch  路  5Comments

vladimirsvsv77 picture vladimirsvsv77  路  5Comments

mcolburn picture mcolburn  路  4Comments