Skip to content

Dragging another image into a gr.Image doesn't work. #1711

@hollance

Description

@hollance
  • I have searched to see if a similar issue already exists.

Is your feature request related to a problem? Please describe.

If the image well from a gr.inputs.Image is empty, then dragging an image into it works as expected.

However, dragging another image into it afterwards will load that image into the browser window itself, not into the image well, thereby exiting the gradio app or opening the image into a new tab (depending on the browser).

Describe the solution you'd like

The user needs to press the Clear button to remove the old image before the image well accepts a new image being dragged into it. That is unintuitive. It would be better if new drags were always accepted.

Additional context

n/a

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions