dimsemenov / PhotoSwipe

JavaScript image gallery for mobile and desktop, modular, framework independent
http://photoswipe.com
MIT License
24.18k stars 3.31k forks source link

Navigation Arrows visible, but non-responsive #1350

Open jmolina309 opened 7 years ago

jmolina309 commented 7 years ago

When clicking on navigation arrows there is no response. Also, no response when clicking on keyboard arrows (Key Codes 37 and 39). Using PhotoSwipe with Masonry JS. There seems to be incompatibility issues with Masonry.

jmolina309 commented 7 years ago

REPLACED: "<div class="grid-item"> <a href="fashion/01.jpg" data-size="900x1200" data-med="fashion/600/01.jpg" data-med-size="600x800" data-author=""> <img src="fashion/600/01.jpg" alt="" class="over" /><div class="overlay"><img class="zoom" src="images/mag.png" alt="mag" width="37" height="39"></div> </a> </div>

WITH:

    <a class="grid-item"  href="fashion/01.jpg" data-size="900x1200" data-med="fashion/600/01.jpg" data-med-size="600x800" data-author="">
      <img src="fashion/600/01.jpg" alt="" class="over" /><div class="overlay"><img class="zoom" src="images/mag.png" alt="mag" width="37" height="39"></div>
    </a>

and now it works fine...