react-component / react-component/tree

is there a way to get the parent when dragging a child onGap?

Open
#378 0 comments 0 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

Currently with the example taken from the storybook, the onDrop callback "info" seems to say that i dropped the dragged item on the sibling in the parent folder and doesn't give any information on which parent the item was dropped into/into?

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 with the Storybook example referenced in the issue and trace the onDrop callback's info object for child-onGap drops. Check the callback documentation and related implementation or tests to determine whether the parent is currently exposed. Done means the drop result clearly identifies the parent folder without breaking existing onDrop behavior.

Written by the indexing model from the issue text.

Assessment

Tech stack
react, typescript
Domain
frontend
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.