Answer the question
In order to leave comments, you need to log in
Why does slick slider crash when using fancybox?
https://monsari.ru/
When you click on the certificate and scroll to the end, when you exit Fancybox, the layout of the slider gets lost.
Has anyone met with this?
I tried to re-initialize the slider when closing the fancybox gallery, but the error remains.
Answer the question
In order to leave comments, you need to log in
Try these properties by toggle
// Focus handling
// ==============
// Try to focus on the first focusable element after opening
autoFocus: true,
// Put focus back to active element after closing
backFocus: true,
// Do not let user to focus on element outside modal content
trapFocus: true,
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question