frontend-collective / frontend-collective/react-sortable-tree
Bug: I can't use draggable="true" (HTML Drag and Drop API) in others places
- Dominant language
- JavaScript
- Stars
- 5k
- Forks
- 914
- PR merge metrics
- No merged PRs in 30d
Description
Hi all,
I just start working on another component that is rendering at the same time as the one that is using this one. So I'm basically doing a list and adding the attribute draggable="true", the problem is that is not working unless I turn off react-sortable-tree, so looks to me that react-sortable-tree is taking over the events or something not allowing to any other element with draggable="true" works as expected.
list e.g:
```html
- AAA
- BBB
- CCC
```
Any suggestions or workaround of this? there is a way to "reactivate" the event that is checking drags on the page? or something ? any help will be appreciate it
Thanks!!
Contributor guide
No contributing guide indexed for this repository
Research direction
No source file or test is named. First reproduce the HTML draggable list with react-sortable-tree enabled and disabled, then trace the component’s drag-event handling. Done means other draggable elements work while the tree remains enabled, with a regression test or documented workaround.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript, react
- Domain
- frontend, web-dev
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100