You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi, we've encountered an issue whereby a series of links to open the lightbox in the same group will always open the ligthbox on the first item in the group rather than on the item for the link that was clicked.
For a solution would you rather:
Always open on the clicked item
A config option for whether to open on first item or selected item
The text was updated successfully, but these errors were encountered:
This might actually be an issue with the duplicate handling code. Possible if init is called twice, then the event listener from the add() method will already be there and then the event listener from the duplicate check will get added too and fire second.
The duplicate handling added in #59 doesn't try to figure out or pass an index to the open() function, not sure if it should try to find the index for what it's duplicating?
roborourke
changed the title
When using groups it always opens the first item in the list
When using group, duplicate links always opens the first item in the group
May 10, 2023
Hi, we've encountered an issue whereby a series of links to open the lightbox in the same group will always open the ligthbox on the first item in the group rather than on the item for the link that was clicked.
For a solution would you rather:
The text was updated successfully, but these errors were encountered: