[Bug]: Keyboard input is now ignored immediately after an image is maximized in the UI
Is there an existing issue for this?
- [X] I have searched the existing issues and checked the recent builds/commits
What happened?
In txt2img, for example, create 3 images of anything. When they finish, click on one of the images to maximize it in the UI.
Previously, the UI would take keyboard input at this point as expected. The ESC key would close the image preview and the keyboard arrow keys would go forward/back.
Now the behavior is that keyboard input is ignored UNTIL the user first manually clicks (with the mouse) one of the on-screen arrow keys. Only after this step can the user go back to using the keyboard arrow keys or ESC to close.
UPDATE: The keyboard behavior appears to have been broken in Chrome via this commit: https://github.com/AUTOMATIC1111/stable-diffusion-webui/commit/b663ee2cff6831354e1b5326800c8d1bf300cafe
Steps to reproduce the problem
- In txt2img
- Create 3 images of anything
- Click on one image to maximize it in the UI
- Notice that keyboard input is ignored (arrow keys and ESC do nothing)
- [Get frustrated]
- Now click one of on-screen arrows on either side of the image
- Notice that the keyboard input is now valid (arrow keys move through images and ESC closes)
What should have happened?
DESIRED BEHAVIOR When an image from a group is selected and maximized, keyboard input should be immediately valid, as it had always been. This change in desired behavior is very recent.
Commit where the problem happens
151233399c4b79934bdbb7c12a97eeb6499572fb
What platforms do you use to access UI ?
Windows
What browsers do you use to access the UI ?
Google Chrome
Command Line Arguments
No response
Additional information, context and logs
No response