stable-diffusion-webui icon indicating copy to clipboard operation
stable-diffusion-webui copied to clipboard

[Bug]: Modal preview does not open when image is clicked

Open cochese9000 opened this issue 2 years ago • 1 comments
trafficstars

Is there an existing issue for this?

  • [X] I have searched the existing issues and checked the recent builds/commits

What happened?

Uncaught TypeError: modalImage is null

The gradioApp.getElementById("modalImage") call is returning null.

UPDATE (Workaround): I have fixed this by disabling a bunch of extensions. I disabled these:

embedding-inspector a1111-sd-webui-locon openpose-editor sd-webui-enable-checker stable-diffusion-webui-embedding-editor stable-diffusion-webui-instruct-pix2pix

And now the normal modal behaviour is working.

Steps to reproduce the problem

  1. Go to .... Generate an image
  2. click on the generated image to show it in full screen modal.
  3. image does not appear in full screen modal (but gen text under image fades out and in briefly)

What should have happened?

modal with full screen preview should have appeared.

Commit where the problem happens

https://github.com/AUTOMATIC1111/stable-diffusion-webui/commit/487d9950b1713cc7961084d27708cbb4e74ddbbc

What platforms do you use to access the UI ?

Windows

What browsers do you use to access the UI ?

Mozilla Firefox

Command Line Arguments

--xformers

List of extensions

image

Console logs

Uncaught TypeError: modalImage is null

The gradioApp.getElementById("modalImage") call is returning null.

Additional information

No response

cochese9000 avatar Mar 26 '23 11:03 cochese9000

I did some trial & error , enabling extensions one at a time and it seems to be "openpose-editor" https://github.com/fkunn1326/openpose-editor causing this at least for me

ScArecrow23 avatar Mar 26 '23 15:03 ScArecrow23

all works now for me

narimangafurov avatar Mar 27 '23 01:03 narimangafurov