Open ijkml opened 1 year ago
Hi,
When I first implemented <vue-easy-lightbox />
, I used <div>
as button, so ... it couldn't be focused when tabbing.
I will implement this feature later.
Thank you.
Even if you use divs, you could tab to other focusable elements on the page.
My current workaround is adding a keystroke event listener for "Tab" and event.preventDefault
when visible === true
.
Hi :wave: Is there currently a way to disable/trap focus within the lightbox? Tabbing when the lightbox is open (even with scroll disabled) continues to focus on elements on the page.