A
A
Abdul Amenov2020-01-19 13:28:27
fancyBox
Abdul Amenov, 2020-01-19 13:28:27

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

1 answer(s)
W
webdevleon, 2020-02-05
@webdevleon

Did you find the answer to the question? I just have the same problem

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question