Answer the question
In order to leave comments, you need to log in
How to return to element after Fancybox is closed?
Hello!
I have a slider which is built on slick carousel and I also use fancybox in it.
When I open a slide picture in fancybox and when I scroll back and forth in it and return, the slide picture becomes the one that was last in fancybox.
I needed this, according to the idea, but the fact is that the DOM tree does not change and the active class is not reassigned from the slick carousel.
How to fix?
Website link: https://secret-dusk-68716.herokuapp.com/
Answer the question
In order to leave comments, you need to log in
Did you find the answer to the question? I just have the same problem
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question