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

delete with multi selection call onDeleteFolder #156

Open
djangoliv opened this issue Nov 6, 2020 · 2 comments
Open

delete with multi selection call onDeleteFolder #156

djangoliv opened this issue Nov 6, 2020 · 2 comments

Comments

@djangoliv
Copy link

When you select 2 files and confirm delete, the onDeleteFile function is call but the onDeleteFolder is call too.

Regards

@DIntriglia
Copy link

Can confirm this as well

@rodriguezd
Copy link

This is most annoying. If you pass a boolean to the onDeleteFolder prop which is valid prop type, the code complains that onDeleteFolder is not a function because it still tries to execute it as a function. If you pass a null function, you avoid the not a function exception, but then the folder containing the files to be deleted is "deleted" from the listing. You have to reload it for it to appear again.

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

No branches or pull requests

3 participants