react-component / react-component/tree

Allow custom drop handling logic for dropping external object

Open
#470 0 comments 6 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
TypeScript
Stars
1.3k
Forks
490
Avg merge
3d 17h
Merged PRs (30d)
5

Description

I would like to implement something like dragging a file to the tree and then trigger uploading the file to the corresponding folder location. So i would like to see is it possible to add custom logic when dropping external item

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reviewing the tree's existing drag-and-drop behavior and determine how external items are currently handled. Define the custom drop-handling entry point needed for uploading a file to the corresponding folder, then verify that consumers can supply their own logic when an external item is dropped.

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
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.