Lightbox Gallery - Keyboard Navigation Focus Issue

Hi Themeco,

We’re using the native Image Lightbox Gallery and have customized the loopers to pull images from an ACF Pro gallery field.

The issue we’re experiencing is that when a modal opens, keyboard navigation (using the arrow keys) doesn’t work unless we first click on the image or an arrow icon to give it focus.

Is there a way to automatically set focus to the opened modal so that keyboard navigation works right away, without requiring a click?

Thank you for your help, and have a great day!