You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am finding issues when the slider is in carousel mode and when on the sldie that is a clone, the lightbox that I added per click doesn't work.
If the sldie is not a clone, it works fine. I didn't look at the code for this yet but could it be clone function not delegating the event handlers? So perhaps clone() should be clone( true, true )?
The text was updated successfully, but these errors were encountered:
Ok I have went into the code and changed every occurrence of clone() to clone( true, true ) and now the lightboxes all work. So this confirms that when the element is cloned, it wasn't delegating the events that were previously attached. Using clone( true, true ) will keep the events attached.
Thanks! At first glance it seemed quite obvious that bindevents were not being carried across to the cloned slides. Thanks for confirming. I am surprised no one else has had a similar issue.
I am finding issues when the slider is in carousel mode and when on the sldie that is a clone, the lightbox that I added per click doesn't work.
If the sldie is not a clone, it works fine. I didn't look at the code for this yet but could it be clone function not delegating the event handlers? So perhaps clone() should be clone( true, true )?
The text was updated successfully, but these errors were encountered: