0

I am looking for a way - Disable Drag and Drop in Modern View Document Library - Sharepoint online.

Any Help will be appreciated. Thank you

1

We cannot disable Drag and Drop in Modern View Document Library because the class name changes in modern view and dragdrop.js file.

Currently, custom JavaScript embedded via User Custom Actions is not supported in SharePoint online.

For more information about customizing modern lists and libraries, check the following article:

https://msdn.microsoft.com/en-us/pnp_articles/modern-experience-customizations-customize-lists-and-libraries?f=255&MSPPError=-2147217396#overview-of-the-customization-options

Source

0

Per my knowledge, you will not be able to disable drag&drop OOB in SPO. It may be possible if you create a custom SPFx solution

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.