Page 1 of 1

iPad: closing drop down list causing web app to navigate to previous screen when closing list.

Posted: Wed Feb 15, 2017 7:41 pm
by Mark6921260

Hello,

I am building an app to be used as a web app. When I tested it on a iPad uisng Safari and Chrome, I noticed a strange behavior. It seems the second time I use a drop down list to pick a location, the app automatically navigates me to the previous screen.

Here are the steps that create the error.

  1. The user opens the web app and enters information about them. This includes choosing the location of their store from a drop down list
  2. Upon completion, the user tap on a button to submit the data and the app then navigates to another screen that is just a stopwatch to be used to record the time a user takes to do a task at our conference booth.
  3. When the user is done, the time is recorded and he app then navigates back to the user information screen for the next user to enter their information.
  4. When the next user opens the the drop down list and chooses their location, when the drop down list closes it causes the app to navigate back to the stopwatch screen.
    Any ideas why this is happening?

iPad: closing drop down list causing web app to navigate to previous screen when closing list.

Posted: Thu Feb 16, 2017 1:40 pm
by Serhii Kulibaba

Hello Mark,

Please check if there are any errors in the browser console. You can learn here: https://docs.appery.io/docs/using-bro... how to open the console.

Could you clarify, do you use any navigation to the next page on that page?
Did all services return you success responses before you open that dropdown?


iPad: closing drop down list causing web app to navigate to previous screen when closing list.

Posted: Thu Feb 16, 2017 2:05 pm
by Mark6921260

Hello Sergiy,

The only time I see this behavior is when the web app is running on a iPad and it happened using both Safari and Chrome web browsers. I have not tested it on a iPhone to see if the same happens.

When using this application as a web app on an android phone or windows desktop using chrome, mozilla, or IE; it works fine.

Yes I do use navigation on that page to the page it is navigating too when the drop down list is closed.

Yes everything else works fine before opening the drop down list.

I am currently adding a new page to the app and will test if I get the same behavior when using the web app on an iPad. If I do I will reply to this post to alert you.

Thank you


iPad: closing drop down list causing web app to navigate to previous screen when closing list.

Posted: Thu Feb 16, 2017 6:27 pm
by Mark6921260

Hello Sergiy,

I completed my additions and when I tested it the only time it automatically navigates to my stopwatch screen is when I test the web app on a iPhone or an iPad. Everything else it works fine. I don't know really how to debug something like this. Any ideas?

Thank you,
Mark


iPad: closing drop down list causing web app to navigate to previous screen when closing list.

Posted: Thu Feb 16, 2017 8:46 pm
by Mark6921260

Sergiy,
This is the first time I added the "navigate to page" in the source tab ( see attached image)/ Maybe this is what is causing the issue. But first I have checked the "full screen refresh" box to see if this dissolves any navigation links that closing the drop down list triggers. If this does not work, I will try moving the "navigate to page" as a subsequent event behind the service request. Image

Sergiy, have you heard of this happening before?


iPad: closing drop down list causing web app to navigate to previous screen when closing list.

Posted: Wed Mar 01, 2017 1:50 pm
by Serhii Kulibaba

Hello Mark,

Sorry, but we can't reproduce it.
Please try to debug your app remotely using Weinre debugger (https://docs.appery.io/docs/weinre-de...).
Could you create a simple app with only that issue, share it with a href="mailto:support@appery.io" rel="nofollow"support@appery.io/a and and describe us exactly steps to reproduce it?


iPad: closing drop down list causing web app to navigate to previous screen when closing list.

Posted: Wed Mar 01, 2017 2:07 pm
by Mark6921260

I am sorry Sergiy, I have already fixed this. The problem was that I had the settings on "Render all pages in one HTML file". Once I removed this and made it a multiple page app, my problem was fixed.

Image

Thank you.