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

Moving files does not seem to work #92

Open
dagrel opened this issue Feb 21, 2020 · 1 comment
Open

Moving files does not seem to work #92

dagrel opened this issue Feb 21, 2020 · 1 comment
Labels

Comments

@dagrel
Copy link

dagrel commented Feb 21, 2020

In the demo you can both move folders and files. However when I tried to implement the module it only worked for moving folders, but not files.

I am running on React 16.8.0. I tried creating a Sandbox where I changed to older and newer React versions, but this did not help either. Any ideas as to why this is not working?
Posting the Sandbox that I tried out below. It runs the latest React version. As you can see, moving files does not work.

https://codesandbox.io/s/pensive-mclean-r7mkd?fontsize=14&hidenavigation=1&theme=dark

@scaredcat
Copy link
Contributor

Hi @dagrel ,

It seems you are able to move files as well. The trick is to select them first (indicated with a bold highlight) then move them rather than move the without selecting.

This change has been introduced with 1.7.0 release. If you wish to have the earlier behaviour, for the time being please use 1.6.1 instead.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants