Removing an image from Img2Img or Inpaint by using the "x" button opens file load dialog automatically
Describe the bug Removing an image from Img2Img or Inpaint by using the "x" button opens file load dialog automatically
To Reproduce Steps to reproduce the behavior:
- Send a txt2Img pic to Img2Img or Inpaint using "send to" button
- Dismiss the sent pic from Img2Img or Inpaint by using the "x" button
- File load dialog pops up automatically and has to be dismissed
Expected behavior Expect image to be dismissed without a load dialog appearing
Desktop (please complete the following information):
- OS: Win 11
- Browser Firefox
- Commit revision af3f6489d3b229da4e688eaf439adb5d3e4f070b
Additional context Worked fine up until this release
its been like that at least for a day or two. probably caused by gradio version upgrade, since those sketchpads completely implemented by them. I'll try to trace the exact commit where it happened.
Thanks, been away for the weekend so just noticed it today. I searched for a bug report but couldn't find one so opened this.
I'll wait for a fix rather than revert, as there are older bugs that will just be reintroduced. It's very annoying but I can live with it until there's a fix.
Just confirmed, this DOES happen on commit 4ed99d599640bb86bc793aa3cbed31c6d0bd6957 with gradio 3.5 and DOESNT happen on the same commit if gradio is 3.4.1.
Seems pretty certain then :)
Moreover if you'll scroll down to the image demo here: https://gradio.app/getting_started/ it behaves exactly the same.
@ClashSAN this one can be closed and https://github.com/AUTOMATIC1111/stable-diffusion-webui/issues/4388 too.