Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

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