163
Views
2
Comments
Solved
[Magnific Popup] Cannot close Popup using Magnific_Popup_Close
Question
magnific-popup
Web icon
Forge asset 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.

2019-06-23 20-19-45
Matheus Medeiros
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 ?


2019-12-16 02-11-04
Hai Minh Nguyen

Hi Matheus,

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

Community GuidelinesBe kind and respectful, give credit to the original source of content, and search for duplicates before posting.