rembg-webapp-tutorial icon indicating copy to clipboard operation
rembg-webapp-tutorial copied to clipboard

fixed bug with dragging image anywhere in the div with id='dropZone'

Open Barto670 opened this issue 1 year ago • 2 comments

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

Barto670 avatar Mar 16 '24 22:03 Barto670

  • [x] can confirm the problem exist
  • [x] can confirm this solves the issue

101br03k avatar Mar 17 '24 15:03 101br03k

This solves it. Thank you.

EHxuban11 avatar Apr 26 '24 14:04 EHxuban11