I am using SharePoint online. I have a requirement, in the Document Library users are not allowed to drag and drop folders but they can drag and drop files. If a folder is dragged I need to show a warning. How can we achieve this? I was trying with SPFx but had no luck. Can I add event listener to detect folder drop before it is dropped?. Any suggestion to achieve this would be really helpful
Asked
Active
Viewed 1,063 times
1 Answers
4
Not sure if this is achievable. You might want to have a look into this:
How can I disable the Document Library drag and drop function?
Also you can read this ms doc:

Tafsir Ahamed
- 930
- 4
- 15