sachinchoolur / lightgallery.js

Full featured JavaScript image & video gallery. No dependencies
https://sachinchoolur.github.io/lightgallery.js/
Other
5.3k stars 596 forks source link

Can not set index when open gallery on the second time or later #34

Closed ccqgithub closed 3 years ago

ccqgithub commented 8 years ago

and, i must do like this:

var obj = window.lgData[this.refs.lightgallery.getAttribute('lg-uid')];

 // fix index bug
  if (obj) obj.s.index = index;
httpster commented 8 years ago

I am experiencing this same issue. It's almost like it's caching the initial index setting.

dbaida commented 4 years ago

It seems that the issue is still there. Do you have any update regarding the issue?

djbobbydrake commented 4 years ago

Confirming that issue is still there.

stale[bot] commented 3 years ago

This issue has been automatically marked as stale because it has not had recent activity. If the issue is still valid for version 2.x, please re-open. Apologize for not responding on time. Thank you for your contributions.