react-component / react-component/tree
Drop area does not match node area
Nobody has claimed this yet.
- Dominant language
- TypeScript
- Stars
- 1.3k
- Forks
- 490
- Avg merge
- 3d 17h
- Merged PRs (30d)
- 5
Description
When I am dragging element over some node it add drop-target class to it. But this drop area doesn't match node area. In examples this difference is not really big, but for me it is about half of the height. It means that if I have folder1 and folder2 and trying to drop element to the top part of folder2 it drop it to the folder1. It is possible to see it on record. I added different background for drop-target class
Is it possible change it somehow to match node and drop area?
.
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 source file, test, or entry point is named. Reproduce the drag-and-drop behavior shown in the recording and trace how the drop-target class and drop position are determined; done means the highlighted drop area matches the node area and dropping near the top of folder2 selects folder2.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- react, typescript
- Domain
- frontend
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100