[Help]: Transition when using keyboard navigation #1118
Unanswered
leventeszmolka
asked this question in
Help
Replies: 1 comment 1 reply
-
@leventeszmolka thanks for your question. At the time of writing, you can't control this. It's an instant jump. However, you can set the root --> emblaApi.rootNode()
slides --> emblaApi.slideNodes()
slideRegistry --> emblaApi.internalEngine().slideRegistry
scrollTo --> emblaApi.internalEngine().scrollTo
scrollBody --> emblaApi.internalEngine().scrollBody
eventStore -> emblaApi.internalEngine().eventStore
eventHandler --> emblaApi.internalEngine().eventHandler |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Summary
Hi there,
I'm just wondering if there is a solution for the following. When the slides have focusable elements (e.g. button) and using keyboard navigation, currently (v8.5.2), there is no transition between the slides.
I could use
:focus-within
and force a CSS transition on the viewport element, but it would be great to have the same transition that is being applied to the viewport when we click on the arrow buttons to navigate between the slides.Any advice on this please?
If applicable, which variants of Embla Carousel are relevant to this question?
Additional information
No response
CodeSandbox example
No response
Beta Was this translation helpful? Give feedback.
All reactions