Modal popup dismissed when clicking bg
acurvers opened this issue · 1 comments
Thank you for the great library
i have a question, I have a popup as modal set to true
One one page of the site it works that it is not dismissed when clicking the dark background outside the popup as should be
on another page I have the exact same popup (copy paste) atleast the HTML part of it
but it does get dismissed.
So its not the HTML that is the problem, i am not sure where to start searching to resolve it
I tied adding:
closeOnBgClick: false, fixedContentPos: true, enableEscapeKey: false,
since i read on here that adding fixedContentPos fixed a simular problem for someone in the past, but that did not help for me.
Perhaps the cause is also not clear to you, but maybe you have some ideas of directions i can look in to find the issue?
thanks in advance
Ok my bad, found the problem modal: true, was in a sub object
items: {
model: true
}
fixed now by putting the option on the right level