Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

html drag and drop does not work when there's a todo editor #9

Open
gfrancine opened this issue Apr 18, 2022 · 0 comments
Open

html drag and drop does not work when there's a todo editor #9

gfrancine opened this issue Apr 18, 2022 · 0 comments
Labels
blocked Nothing we can do at the moment bug Something isn't working frontend

Comments

@gfrancine
Copy link
Owner

Repro:

  • Open a folder
  • Create a new todo editor
  • Add an item
  • Drag a file tree item around

react-sortly depends on react-dnd, which hijacks all drag and drop events. There's a rootElement option, but it can't have multiple DnD backends and roots. Setting rootElement to the editor module's element would disable drag and drop on other editors. The ideal solution is to find an alternative to react-sortly.

@gfrancine gfrancine added the bug Something isn't working label Apr 18, 2022
@gfrancine gfrancine changed the title file tree drag and drop does not work when there's a todo editor html drag and drop does not work when there's a todo editor Apr 18, 2022
@gfrancine gfrancine added frontend blocked Nothing we can do at the moment labels May 2, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
blocked Nothing we can do at the moment bug Something isn't working frontend
Projects
None yet
Development

No branches or pull requests

1 participant