Hi @littauer, this will require coding. I am on vacation without any computer at the moment. I will return to you in 2 weeks. Apologies for the delay, BR, Jan
Thanks for the reply. Take it easy on your vacation!
Should it be of help, I had Claude (AI) write a snippet to handle the keystrokes. I can send it to you if you’d like. Here’s the header comment on its PHP snippet:
// On pages with multiple jzsa galleries, arrow keys move ALL galleries at once.
// This snippet disables Swiper’s built-in keyboard navigation and replaces it
// with hover-aware control: arrow keys only affect the gallery the mouse is over.
// Lightbox: has its own Swiper — just step aside (overlayOpen flag).
// Fullscreen: reuses the same Swiper — must re-enable keyboard, then disable on exit.
-
This reply was modified 1 week, 4 days ago by
littauer.
Hi @littauer ,
I am back. And yes, please send it over. In case you know how feel free to open PR on the GitHub directly: https://github.com/JanZeman/shared-albums-for-google-photos
Kind regards, Jan
Hi @littauer,
No need to send anything, I just applied the fix. When multiple galleries are displayed on one page, the arrow keys now control only the gallery being hovered or keyboard-focused. An open Lightbox or Fullscreen viewer receives exclusive keyboard control.
The fix will be included in the next plugin update (version 2.4.5), which will be published soon. After updating, please refresh the page and verify the behavior.
Have a nice day
Jan
Thanks! I’ll watch for the update.