Close popup when clicking outside the window


While using popups from mobile app, clicking outside the popup won't close it. Is there any easy way to implement this functionality?


Hi Ana,

You can find an example in attachment. 

Basically it's a block that injects a div behind the PopUp content that will trigger an Event when the area is clicked. 

Please let me know if it solves your problem.

best regards,