Y
Y
YakovSpb2020-07-14 12:21:09
css
YakovSpb, 2020-07-14 12:21:09

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.
5f0d78972e71a228865148.png
5f0d78eb0eb20942410894.png

Answer the question

In order to leave comments, you need to log in

1 answer(s)
E
Eugene, 2020-07-14
@YakovSpb

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 question

Ask a Question

731 491 924 answers to any question