[Magnific Popup] Cannot close Popup using Magnific_Popup_Close

Forge Component
(5)
Published on 26 Jun by Matheus Medeiros
5 votes
Published on 26 Jun 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.

Solution

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 ?


Solution

Hi Matheus,

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