react-component / react-component/tree
Droppable without Draggable?
Nobody has claimed this yet.
- Dominant language
- TypeScript
- Stars
- 1.3k
- Forks
- 490
- Avg merge
- 3d 17h
- Merged PRs (30d)
- 5
Description
Is there a way to have onDrop without forcing everything to be draggable? I am trying to setup a component for organizing files. Where you can drag a div("file") and drop it on a category in the rc_tree to set its category. But the only way to get onDrop to work is to also allow them to Drag the order of the categories which we don't want.
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
No file, test, or entry point is named. Review the tree component's drag-and-drop API and existing onDrop configuration first, then determine whether external file elements can drop onto categories without enabling category reordering; done means the supported behavior is implemented or clearly documented.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- react, typescript
- Domain
- frontend
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100