Close carousel when clicking on slide backdrop #346
-
I've a use case when I'd like to be able to close the whole carousel if the user clicks on the backdrop of the current slide. Is it possible? |
Beta Was this translation helpful? Give feedback.
Answered by
gabriele-ct
Apr 7, 2025
Replies: 1 comment
-
I found the answer in the docs |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
gabriele-ct
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I found the answer in the docs
passing the following prop is doing the trick
controller={{ closeOnBackdropClick: true }}