OwlCarousel2/OwlCarousel2

First image won't load in popup after looping through

Open

#1.493 aberto em 17 de jul. de 2016

Ver no GitHub
 (4 comments) (0 reactions) (0 assignees)JavaScript (2.315 forks)batch import
bughelp wanted

Métricas do repositório

Stars
 (7.861 stars)
Métricas de merge de PR
 (Nenhuma PRs mesclada em 30d)

Description

Directly related to #1113

I'm actually using this version of Owl Carousel in a WordPress plugin and it has an option to open the image in a lightbox (called FooBox) and we're experiencing the same problem, but not reliably. https://wordpress.org/plugins/foogallery-owl-carousel-template/

Here's examples and issues:

  1. On this site, you'll see that when navigate through the loop to the first image again the image does NOT show up in the lightbox. That behavior is consistent across all browsers.

  2. But on my personal site the issue only happens in FireFox.

  3. Lastly, I can't get the issue to happen at all locally in any browser.

I know that adding the WordPress environment and this implementation introduces new potential conflicts, but you can see in the markup and the initialization script that these are just standard Owl Carousel instances.

Would love some feedback or insight on how this might be happening.

Thanks!

Guia do colaborador