rembg-webapp-tutorial
rembg-webapp-tutorial copied to clipboard
fixed bug with dragging image anywhere in the div with id='dropZone'
with id='dropZone' had the default behavior of only opening the image in the new tab instead of adding the image to upload. Adding this piece of code in 'dragover' event fixes this problem
- [x] can confirm the problem exist
- [x] can confirm this solves the issue
This solves it. Thank you.