volto icon indicating copy to clipboard operation
volto copied to clipboard

backport drag and drop to 18.x.x

Open Tishasoumya-02 opened this issue 2 weeks ago • 6 comments

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

Tishasoumya-02 avatar Dec 08 '25 13:12 Tishasoumya-02

@plone/volto-team for discuss in the next meeting.

sneridagh avatar Dec 09 '25 10:12 sneridagh

@wesleybl strange, because the validator is in there, right?

@Tishasoumya-02 could you please take a look?

sneridagh avatar Dec 09 '25 15:12 sneridagh

@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 avatar Dec 09 '25 15:12 wesleybl

@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

Tishasoumya-02 avatar Dec 10 '25 09:12 Tishasoumya-02

For now I don't show the modal if the file is large.

@Tishasoumya-02 This is fine to me.

wesleybl avatar Dec 10 '25 17:12 wesleybl

For now I don't show the modal if the file is large

This needs to be fixed in the main branch as well.

wesleybl avatar Dec 10 '25 18:12 wesleybl