[BUG] Image drag and drop in project comment section fails irrespective of file size
ramyaragupathy opened this issue · comments
Describe the bug
Media drag and drop in the project comment fails with an error message on maximum file size threshold. However the same media upload gets through fine with the media upload icon.
To Reproduce
Steps to reproduce the behavior:
- Go to 'tasks.hotosm.org'
- Make sure you are signed in
- Choose an active project to load from
Explore projects
section - Scroll down to project comments section
- Now try drag and drop a media file into the comment box. You will see an error message
filename.gif (File is larger than 256000 bytes,)
- Attempt to upload the same media through the media upload icon present in the comment toolbar
- Same file is uploaded to Tasking Manager CDN
Expected behavior
Media uploads in the project comment section should go through well for both:
- drag and drop and
- media upload action through icon
Screenshots
Desktop (please complete the following information):
- MacOS
- Chrome
Additional context
Issue raised on slack by Pete and confirmed by @royallsilwallz @prabinoid @manjitapandey @kaditya97