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 there, I think there is a bug, when using a skin to style the lightbox.
That's what is happening in my environment (latest version of glightbox):
When applying a skin in the javascript-init (with selector) the close button disappears and the #glightbox-body layer is covered by multiple layers (until .gslide-inner-content) in mobile mode. That way the lightbox cannot be closed on mobile devices anymore. Desktop still works because you can click on the layer (close button disappears here too).
The skin option is definitely in the Advanced section of the settings. I would personally discourage use of it unless you have a really good understanding of how it works. I do not personally. If you NEED to use skin, then we can look more into it, but we would need a reduced test case in a CodePen or something to really dig into it.
Hi there, I think there is a bug, when using a skin to style the lightbox.
That's what is happening in my environment (latest version of glightbox):
When applying a skin in the javascript-init (with selector) the close button disappears and the #glightbox-body layer is covered by multiple layers (until .gslide-inner-content) in mobile mode. That way the lightbox cannot be closed on mobile devices anymore. Desktop still works because you can click on the layer (close button disappears here too).
example code:
const lightbox3 = GLightbox({
selector: '.modelGraphic',
skin: 'modelDimenLb'
});
The text was updated successfully, but these errors were encountered: