Page 1 of 1

Closing POPUP does not work properly

Posted: Tue Jun 16, 2020 6:26 am
by Deon

If there is a Youtube video in a POPUP and you try to close the popup either by clicking off the popup or with a button, you need to click twice. Nothing happens on first click.
Only if there is a video on the popup.


Closing POPUP does not work properly

Posted: Thu Jun 18, 2020 8:43 am
by Serhii Kulibaba

Hello Deon,

Do you use JQM project here?
It seems the first click is used on the youtube video. As a workaround, you can use the programable double click here.


Closing POPUP does not work properly

Posted: Fri Jun 19, 2020 4:34 am
by Deon

Hi
Yes, it is JQM.
What is the programmable double click?


Closing POPUP does not work properly

Posted: Mon Jun 22, 2020 3:11 pm
by Serhii Kulibaba

Just trigger the click event with a vanilla JS https://developer.mozilla.org/en-US/d...