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

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

No branches or pull requests

3 participants