Open premregmi opened 5 years ago
I didn't get deep into it but removing e.preventDefault() from the source code (look at the code fragment below) should solve the problem.
....
popboxs[i].addEventListener('click', function(e){
e.preventDefault(); // <-- remove this line
...
Technically they'd just have to check if e.currentTarget === popboxs[i]
before calling preventDefault
. Otherwise yeah, it basically nukes out of existence any click event inside the modal
Checking e.defaultPrevented
would be nice as well to have undesired click event processing
This modal plugin is awesome but I am blocked with 1 issue. I can't toggle checkbox inside this popbox. If checked it can not be unchecked and if unchecked I can not make it checked.