reflex
reflex copied to clipboard
[REF-3344] Can't paste in big files
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:
- Code/Link to Repo:
Expected behavior Being able to upload the same files using the on_drop or paste handler
Specifics (please complete the following information):
- Python Version: 3.12
- Reflex Version: 0.5.7
- OS: linux
- Browser (Optional): firefox, chrome
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