kskk02
Posts: 0
Joined: Sun Dec 15, 2013 12:40 am

Appery Application Hangs When Transitioning to a Screen with HTML COmponent with Javascript

This is a headscratcher. Try clicking on "Map the Events" in the link below

http://volunteermatch.app.appery.io/M...

The app hangs. However, if you go directly to the page - http://volunteermatch.app.appery.io/M...

It works.

Why does it hang? Note that this is a general problem whenever I have a page with javascript HTML component.

Illya Stepanov
Posts: 0
Joined: Mon Mar 18, 2013 8:48 am

Appery Application Hangs When Transitioning to a Screen with HTML COmponent with Javascript

Hi -

Can you share your app with a href="mailto:support@appery.io" rel="nofollow"support@appery.io/a?

Alena Prykhodko
Posts: 0
Joined: Tue Apr 09, 2013 7:36 am

Appery Application Hangs When Transitioning to a Screen with HTML COmponent with Javascript

Please try to debug your app http://docs.appery.io/documentation/d...
Also tell page with issue and how to reach this http://volunteermatch.app.appery.io/M... on Preview testing?

kskk02
Posts: 0
Joined: Sun Dec 15, 2013 12:40 am

Appery Application Hangs When Transitioning to a Screen with HTML COmponent with Javascript

THank you. If you go directly to the page, its fine, but if you try to navigate to the page through http://volunteermatch.app.appery.io/M...
then clicking on the bottom "Map The Events" button, then it just hangs. It seems to be a subtle appery bug though so I am unable to debug using the usual console means.

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

Appery Application Hangs When Transitioning to a Screen with HTML COmponent with Javascript

Hello! You have an error in file JavaScript2.js. In JS asset you can't use tags pre<script type="text&#47;javascript">/pre and pre<&#47;script>/pre delete them and let us know result.

kskk02
Posts: 0
Joined: Sun Dec 15, 2013 12:40 am

Appery Application Hangs When Transitioning to a Screen with HTML COmponent with Javascript

Hi maryna, THank you for your response. You are right about that but that script is not pertinent for the page in question. In any case, the issue is because the google API is not loading the initialize function in time for the rendering. I.e. the page loads before the google API can be called. After fixing this, it works on the appery platform when tested (although when i remove the frames in the test window it no longer works) but doesnt work on the published website - http://volunteermatch.app.appery.io/M... - click on "Map the Events" .

http://stackoverflow.com/questions/14...

Any more advice? Thank you so much Maryna !!

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

Appery Application Hangs When Transitioning to a Screen with HTML COmponent with Javascript

Hi,

You can run JavaScript on Page Show event to make sure the whole page is loaded.

kskk02
Posts: 0
Joined: Sun Dec 15, 2013 12:40 am

Appery Application Hangs When Transitioning to a Screen with HTML COmponent with Javascript

Thanks Katya, I think that problem is now resolved. However, if you navigate to the page as I mentioned in my last post, the page appears in a strange manner. However, if you navigate to the page directly (i.e. type the URL directly), then it works fine.

Alena Prykhodko
Posts: 0
Joined: Tue Apr 09, 2013 7:36 am

Appery Application Hangs When Transitioning to a Screen with HTML COmponent with Javascript

In what browser do you test? Checked published website in Firefox 25.0.1 - works fine.

Return to “Issues”