[Magnific Popup] Cannot close Popup using Magnific_Popup_Close

Forge Component
Published on 2019-06-26 by Matheus Medeiros
5 votes
Published on 2019-06-26 by Matheus Medeiros


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.


Hi Eucliwood,

Sorry for the late reply.

I've just released a version that changes the way the popup is closed in order to fix another issue.

Can you confirm if you are still facing the reported issue under the newer version ?


Hi Matheus,

I have retried and it works correctly now. Thanks for the update.