backport drag and drop to 18.x.x
Related to issue : https://github.com/plone/volto/issues/5625
https://github.com/user-attachments/assets/6eea5da2-edfa-4a95-bd3d-417ca1c180ef
Backport https://github.com/plone/volto/pull/7673 to 18.x.x
@plone/volto-team for discuss in the next meeting.
@wesleybl strange, because the validator is in there, right?
@Tishasoumya-02 could you please take a look?
@wesleybl strange, because the validator is in there, right?
@sneridagh When we drag the file, it gives a message saying that the file is larger than allowed. But then, if we click on the arrow in the list of dragged files, it creates the file.
@wesleybl @sneridagh I have tried to fix it, but should we show the modal even if the dropped files is larger than the limit , or just leave with the error message ? For now I don't show the modal if the file is large .
https://github.com/user-attachments/assets/5fb4683a-3c31-4222-b65b-e05ce862bc92
error message can be seen if the video is played on full-screen
For now I don't show the modal if the file is large.
@Tishasoumya-02 This is fine to me.
For now I don't show the modal if the file is large
This needs to be fixed in the main branch as well.