reflex-dev / reflex

🕸️ Web apps in pure Python 🐍
https://reflex.dev
Apache License 2.0
20.28k stars 1.16k forks source link

[REF-3344] Can't paste in big files #3686

Open dentro-innovation opened 3 months ago

dentro-innovation commented 3 months ago

Describe the bug Could it be that it isn't possible to paste very big files?

I got a screenshot that's 2.8 MB.

I can upload it using the "normal" file upload functionality, but when I try to upload this big image, the on_paste handler isn't even triggered.

I do not use max_size of the file_upload component.

To Reproduce Steps to reproduce the behavior:

Expected behavior Being able to upload the same files using the on_drop or paste handler

Specifics (please complete the following information):

Additional context Here the screenshot for reference, inside a zip archive to make sure it doesn't get compressed when uploaded to github: big_image.zip

Related PR https://github.com/reflex-dev/reflex/pull/3513

REF-3344

Spartan-71 commented 1 month ago

Hey @elviskahoro I would like to work on this issue.