Dan Hoeck
Posts: 0
Joined: Sat May 17, 2014 3:55 am

Popup opens and closes very fast on Chrome and Safari

I have a pop up open on load. It only is suppose to close on clicking outside of the popup. While using either Chrome and Safari, on load the pop up opens and then quickly closes. Is this simply an issue with the browsers or is this fixable?

Kateryna Grynko
Posts: 0
Joined: Thu Nov 15, 2012 9:13 am

Popup opens and closes very fast on Chrome and Safari

Hi Dan,

Are there any errors in console (F12)? Do you close popup anywhere?

Dan Hoeck
Posts: 0
Joined: Sat May 17, 2014 3:55 am

Popup opens and closes very fast on Chrome and Safari

Hi Kateryna,

There are no errors in the console, and I do not close the popup, and have no events that close the pop up.

I believe the pop up worked fine before the recent appery update. The only other thing I can think of is I have some javascript files for use on other parts of my app, which may be interfering.

Here is the app if you would like to see.
http://appery.io/app/mobile-frame?src...

Evgene Karachevtsev
Posts: 12
Joined: Mon Apr 28, 2014 1:12 pm

Popup opens and closes very fast on Chrome and Safari

Hello Dan,

Could you please share your project with a href="mailto:support@appery.io" rel="nofollow"support@appery.io/a and tell us its name http://docs.appery.io/documentation/s...

Dan Hoeck
Posts: 0
Joined: Sat May 17, 2014 3:55 am

Popup opens and closes very fast on Chrome and Safari

Hi Evgene,

I've shared my project folder.

Thank you, and please let me know your thoughts.

Dan Hoeck
Posts: 0
Joined: Sat May 17, 2014 3:55 am

Popup opens and closes very fast on Chrome and Safari

oh, and the project is WeedToMe

Kateryna Grynko
Posts: 0
Joined: Thu Nov 15, 2012 9:13 am

Popup opens and closes very fast on Chrome and Safari

Hi Dan,

Seems to be a bug. We passed it to our developers.

Dan Hoeck
Posts: 0
Joined: Sat May 17, 2014 3:55 am

Popup opens and closes very fast on Chrome and Safari

you got it, thanks

Maryna Brodina
Posts: 0
Joined: Thu Apr 05, 2012 7:27 am

Popup opens and closes very fast on Chrome and Safari

Hello!

This seems to be JQM or Chrome bug and we would need to wait for a fix from them. You can try the following workaround:

Open popup on load event with following JS code:
prevar popupElement = Apperyio("mobilepopup_2");
setTimeout(function() {popupElement.popup("open",
{ transition: "none" }
);},500);/pre

where "mobilepopup_2" is the name of the popup component.

Return to “Issues”