[Help]: Is there any way to prevent scrolling in a certain direction ? #855
-
SummaryHello, I'm looking for a way to programatically prevent scrolling. Here's what I need :
Is there some way to implement this already or should it be a feature request ? I've tried :
Any ideas ? Thank you If applicable, which variants of Embla Carousel are relevant to this question?
Additional informationNo response CodeSandbox exampleNo response |
Beta Was this translation helpful? Give feedback.
Answered by
davidjerleke
May 7, 2024
Replies: 1 comment 1 reply
-
Thanks for your question @clementoriol. What you want to do isn't possible at the time of writing. However, there's an upcoming feature called event interceptors that will solve this in the future. Interceptors will be available for the I believe this is a duplicate of: |
Beta Was this translation helpful? Give feedback.
1 reply
Answer selected by
davidjerleke
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Thanks for your question @clementoriol.
What you want to do isn't possible at the time of writing. However, there's an upcoming feature called event interceptors that will solve this in the future. Interceptors will be available for the
pointerMove
event. It's mentioned here:I believe this is a duplicate of: