Kris-B / nanoGALLERY

image gallery simplified - jQuery plugin. Touch enabled, responsive, justified/cascading/grid layout and it supports pulling in Flickr, Google Photos and self hosted images.
https://nanogallery2.nanostudio.org/
439 stars 101 forks source link

Gallery not working after scrolling in mobile phones #51

Closed co-logic closed 9 years ago

co-logic commented 9 years ago

Hello, I found a strange bug in nanoGallery (lates tversion).

To reproduce it, please do the following:

  1. Open any gallery, e.g. this example: http://nanogallery.brisbois.fr/#examples. It must be opened on a mobile phone or open it in chrome with activated mobile emulation (i used iPhone 5).
  2. Open a picture
  3. Close the picture
  4. Swipe a bit up or down (do not scroll with the mouse-wheel, if your using the emulator in chrome. swipe with hold mouse button)
  5. Try to open another picture. Nothing will happen
Kris-B commented 9 years ago

Hi! I could reproduce this behaviour, thanks for pointing this issue to me. It needs some investigation....

Kris-B commented 9 years ago

can you please check again if you can reproduce this behaviour on the demo page? thanks.

co-logic commented 9 years ago

Hi, unfortunately its not working. I tried http://nanogallery.brisbois.fr/#features

Kris-B commented 9 years ago

Ok, should be fixed on the demo page. Thanks to check once again.

co-logic commented 9 years ago

Yes, the picture is opening now, even if you swiped. But every second time you opened a picture you cannot swipe to the next or prior picture in detail view. All you can do is closing the picture and opening another.

Kris-B commented 9 years ago

Can you please provide more details to reproduce this bahaviour? Do you have this issue on real hardware? Or only on emulation? Thanks.

co-logic commented 9 years ago

I tried both, iPhone hardware (4S) and the software emulation in Chrome. Open a gallery, then open a picture. Close it. Swipe. Open another picture. Try to swipe to the next picture in detail view. It wont work. Close the picture. Open another one, works. Close it, swipe, the next wont work again.

Kris-B commented 9 years ago

Ok, can you please check again this behaviour on the demo page?

co-logic commented 9 years ago

Seems to work now, thanks! :)

Kris-B commented 9 years ago

;-) thanks for your report.