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

How to implement canExpand?

Open
#324 6 comments 1 reaction 0 assignees View on GitHub
enhancement question
Dominant language
JavaScript
Stars
5k
Forks
914
PR merge metrics
No merged PRs in 30d

Description

How do you implement canExpand? With the file-browser analogy, I do not want to offer expanded file nodes during drag and drop. Yes, it is displayed in red, if you implement canDrop, but I'd like a "file" like node to not even expand, as it's only ever meant to be a leaf node.

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.