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
I need to target a lightbox that has a fixed position and z-index to the center of a page with other chardin elements, but I only want them displayed for the lightbox.
Currently I can fire a chardinjs start from the body to show all overlay elements, but when I target the lightbox I get an unhelpful console error:
Uncaught TypeError: Cannot read property 'offsetWidth' of undefined
I'd like to only start chardin for the child elements of the selector, is this possible?
ex: $('.the-lightbox').chardinJS('start')
---
Want to back this issue? **[Post a bounty on it!](https://www.bountysource.com/issues/1129916-targeting-a-lightbox?utm_campaign=plugin&utm_content=tracker%2F283283&utm_medium=issues&utm_source=github)** We accept bounties via [Bountysource](https://www.bountysource.com/?utm_campaign=plugin&utm_content=tracker%2F283283&utm_medium=issues&utm_source=github).
The text was updated successfully, but these errors were encountered:
I need to target a lightbox that has a fixed position and z-index to the center of a page with other chardin elements, but I only want them displayed for the lightbox.
Currently I can fire a chardinjs start from the body to show all overlay elements, but when I target the lightbox I get an unhelpful console error:
Uncaught TypeError: Cannot read property 'offsetWidth' of undefined
I'd like to only start chardin for the child elements of the selector, is this possible?
--- Want to back this issue? **[Post a bounty on it!](https://www.bountysource.com/issues/1129916-targeting-a-lightbox?utm_campaign=plugin&utm_content=tracker%2F283283&utm_medium=issues&utm_source=github)** We accept bounties via [Bountysource](https://www.bountysource.com/?utm_campaign=plugin&utm_content=tracker%2F283283&utm_medium=issues&utm_source=github).ex: $('.the-lightbox').chardinJS('start')
The text was updated successfully, but these errors were encountered: