Closed aa-jeremyhoover closed 1 year ago
Thanks, that's what I needed :)
Hi @aa-jeremyhoover,
Just wanted to let you know that as of v8.0.0-rc12
Embla handles this internally. No need to copy paste code to get this to work anymore.
Cheers, David
Bug is related to
Embla Carousel version
Describe the bug
When a slide offscreen contains a focusable link, users can tab to this hidden content and break the layout of the slider.
CodeSandbox
Here's a demo, pressing tab goes to a slide out of view and breaks the slide layout: https://codesandbox.io/s/embla-carousel-default-react-forked-mfxmmy?file=/src/js/EmblaCarousel.jsx
Steps to reproduce
Expected behavior