Skip to content

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

Open
Barto670 wants to merge 1 commit intocodediodeio:mainfrom
Barto670:main
Open

fixed bug with dragging image anywhere in the div with id='dropZone'#3
Barto670 wants to merge 1 commit intocodediodeio:mainfrom
Barto670:main

Conversation

@Barto670
Copy link

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

@101br03k
Copy link

  • can confirm the problem exist
  • can confirm this solves the issue

101br03k added a commit to 101br03k/rembg-webapp that referenced this pull request Mar 18, 2024
@EHxuban11
Copy link

This solves it. Thank you.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants