[Bug]: Left and Right Arrow only work once you've clicked one of the arrow in the big picture gallery
Is there an existing issue for this?
- [X] I have searched the existing issues and checked the recent builds/commits
What happened?
Left and Right Arrow shortcuts only work once you've clicked one of the arrow in the big picture gallery, before that they do nothing
Steps to reproduce the problem
- Generate a bunch of images
- Click on one of them to open the big image viewer
- Click left or right arrow on the keyboard
- Nothing should happen
- Click with the mouse on one of the arrows at the edge of the screen, it will change to the next(or previous) image correctly
- Now the keyboard shortcuts suddenly work
What should have happened?
The arrow shortcuts should have worked right away, as they did before
Commit where the problem happens
b663ee2cff6831354e1b5326800c8d1bf300cafe
What platforms do you use to access UI ?
Windows
What browsers do you use to access the UI ?
Brave
Command Line Arguments
--xformers --ckpt-dir 'C:\AI\Models\Stable-diffusion' --vae-path 'C:\AI\Models\Stable-diffusion\NewVAE.vae.pt'
Additional information, context and logs
Windows 11 with Brave, shield disabled on the WebUI
Reverting the change from https://github.com/AUTOMATIC1111/stable-diffusion-webui/commit/b663ee2cff6831354e1b5326800c8d1bf300cafe fixes the problem, as does changing the event to pointerdown as suggested by a commenter on that commit. No idea how it impacts FireFox
fixed by https://github.com/AUTOMATIC1111/stable-diffusion-webui/pull/6635