Page 1 of 2

popup not showing on page load event

Posted: Thu Oct 09, 2014 6:43 am
by Russ Biggers

I am not sure what is going on with my pop ups but they are not being consistent at all. I can not get a popup to show up on page load event and they are also not centering them selves on the screen anymore. Please help


popup not showing on page load event

Posted: Thu Oct 09, 2014 7:56 am
by Evgene Karachevtsev

Hello Russ,

Please try to display with a little delay. For example by using such js code
presetTimeout( function(){ Apperyio("mobilepopupName").popup("open", {transition: "none"}); }, 100);/pre


popup not showing on page load event

Posted: Thu Oct 09, 2014 4:05 pm
by Russ Biggers

Great!! That worked!! How do I center the popup in the window? I have the option "window" typed in under "position to" in the popup options


popup not showing on page load event

Posted: Thu Oct 09, 2014 8:12 pm
by Kateryna Grynko

Hi Russ,

Please check here: https://getsatisfaction.com/apperyio/...


popup not showing on page load event

Posted: Sat Oct 11, 2014 6:18 pm
by Russ Biggers

I had everything set up correctly but I found out from testing my app that the timeout of the pop has to do with where on the page the popup loads. I don't know if that has anything to do with the amount of components I have in the popup or not.

Also I had a side question. For some reason my datepicker element is not showing the current date as the default date. On the ui elements page it said this should be set by default. What can I do to make sure the current date is set as the default date?


popup not showing on page load event

Posted: Mon Oct 13, 2014 4:21 am
by Yurii Orishchuk

Hi Russ,

please show us your app public link and describe steps to reproduce this problem.

Thanks & regards.


popup not showing on page load event

Posted: Thu Oct 16, 2014 2:01 am
by Russ Biggers

Yurii,

Here is the public link

http://appery.io/app/mobile-frame?src...

To reproduce the problem first click the "Continue to app" button at the bottom of the screen, then enter "123456" in to the input field, then select the staff radio button the click submit and it will take you to the next screen where a popup will load and you will notice that the date in the datepicker component is not set to the current date.

Thank you!


popup not showing on page load event

Posted: Thu Oct 16, 2014 3:55 am
by Yurii Orishchuk

Hi Russ,

You should use "Page show" event handler instead of "Page load".

Regards.


popup not showing on page load event

Posted: Tue Dec 09, 2014 10:04 am
by Peter LPunkt

Hi there,

i am also having trouble with popups, but only in android browser and as android build on phone Samsung S3 Android 4.3. In chrome browser (on same phone) popups work fine.

I used a 200ms delay and switched of transitions, but it didnt change the way the popups are displayed in android build. I also see the same thing happening for select component (see images) in android build. It seems like the page in the background is scrolled way down to the bottom, when the popup is opened the first time.

Do you have an idea, why this is happening? Is this an issue with the framerate? I noticed Youtube videos in android build dont look so smooth.

I know i saw a post about this issue on the forum, but couldnt find it again.

Cheers

Image Image Image


popup not showing on page load event

Posted: Tue Dec 09, 2014 11:14 pm
by Yurii Orishchuk

Hi Peter,

Do you use any custom CSS asset?

If so - please try to disable these rules with comments code/*... */ /code. Then try to test is again.

Also, if described above will not help please give us your app public link and describe steps to reproduce this problem in your app.

Regards.