0

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

Akshay J
  • 1
  • 2

1 Answers1

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:

Information about dragging files into document libraries in SharePoint Server 2013 or SharePoint Online by using a web browser

Tafsir Ahamed
  • 930
  • 4
  • 15