Skip to content
Discussion options

You must be logged in to vote

Thanks for the answer, this still doesn't work.

It doesn't work in conjunction with your customizations that you previously didn't share. It was just a shot in the dark.

I'm sharing my code with you if it helps!

Indeed, the customizations you implemented won't allow you to use the closeOnBackdropClick feature because the lightbox attaches pointer listeners to the yarl__container DOM node; however, in your implementation, it doesn't cover the "backdrop" area.

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@drina-musaj
Comment options

@igordanchenko
Comment options

Answer selected by igordanchenko
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants