[Magnific Popup] Cannot close Popup using Magnific_Popup_Close

Forge Component
(5)
Published on 15 Mar by Matheus Medeiros
5 votes
Published on 15 Mar by Matheus Medeiros

Hi,

In my project, I want to close the popup after the end of the screen action. I use Magnific_Popup_Close but it does not work. Any idea why it does not work?

Thanks in advanced.


Update: I found a workaround way is to run an own javascript to call "window.parent.$.magnificPopup.close()" instead of using the default Magnific_Popup_Close.