blueimp / Gallery

blueimp Gallery is a touch-enabled, responsive and customizable image & video gallery, carousel and lightbox, optimized for both mobile and desktop web browsers. It features swipe, mouse and keyboard navigation, transition effects, slideshow functionality, fullscreen support and on-demand content loading.
https://blueimp.github.io/Gallery/
Other
3.75k stars 984 forks source link

I have an issue if the gallery is opend on the mobile #252

Closed UtmostCreator closed 3 years ago

UtmostCreator commented 4 years ago

Gallery ver: 3.2.* Tested in chrome canary 86, chrome 84. and chrome 83.

Steps to reproduce:

  1. go the page
  2. open my slide bar
  3. wait a second

Actual result: the error appears instead of showing the image. Expected results: the image is shown and can be slided.

blueimp-gallery.js:1022 Uncaught TypeError: Cannot read property 'removeAttribute' of undefined at i.updateActiveSlide (blueimp-gallery.js:1022) at i.handleSlide (blueimp-gallery.js:1029) at i.handleSlide (blueimp-gallery-indicator.js:135) at i.handleSlide (blueimp-gallery-video.js:53) at i.onslide (blueimp-gallery.js:1038) at i.slide (blueimp-gallery.js:391) at blueimp-gallery.js:427

image

my view: image

Please help me out, what could I did wrong?

blueimp commented 4 years ago

Hello @MasterMindNET,

if you cannot reproduce the issue on the demo, it's likely a configuration error. Maybe you tried to move to a slide index that doesn't exist?

blueimp commented 3 years ago

@MasterMindNET is this still an issue or could you solve it in your integration code?

UtmostCreator commented 3 years ago

Yeah, pardon me, please. this issue is somewhere in my the project. The gallery works fine. I am closing it.

Thank you so much for immediate response!