Skip to content
This repository has been archived by the owner on Jan 27, 2025. It is now read-only.

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 subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

2 participants