-
Notifications
You must be signed in to change notification settings - Fork 97
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Repetition of events #554
Comments
Hi, Indeed, there is a problem with repeating events (especially |
Hello, But on removeSlide. I basically need something similar to removeSlide but only for the Slides that to be removed from the DOM. I know there is unselctSlide but this doesnt happen when i close the gallery |
Yes, then use the |
Hi, It should be fixed in the latest release. |
Describe the bug
I recently noticed that the closing of my fancybox gallery takes a lot longer then usual.
So i started to log the events.
And i see this
It initializes all of the slides (and removes each one of them)
This isnt behaviour i noticed before.
Is there a way to reduce the amount of slides initialized?
Reproduction
Having a gallery with a lot of images and having custom logic in removeSlide Event that takes time
My code:
Additional context
No response
The text was updated successfully, but these errors were encountered: