Cody Blue
Posts: 0
Joined: Sun Aug 25, 2013 2:11 am

Panel display issue with back button

I have created a main page with a panel menu that appears when a button on the page is clicked.
(Examples of Panels: http://demos.jquerymobile.com/1.3.0-b...)

When one of the options (listItems) in the panel is clicked the application navigates to a second page which has a back button (that Appery provides).

On clicking the back button the main page (with the menu panel) appears correctly but the panel no longer shows up when the menu button on that is clicked.

Now, when I manually refresh this main page in the browser the panel begins to work fine.

Could you suggest how may I go about fixing this?

maxkatz
Posts: 0
Joined: Fri Aug 13, 2010 3:24 pm

Panel display issue with back button

The back button is not Appery.io button. It's a standard jQuery Mobile back button (feature) that goes back one page in history. Pretty much everything in Appery.io is standard jQuery/jQuery Mobile stuff.

When you navigate back to the page, you can remember if the panel was open or not. If not, open it.

We are adding the Panel component to the palette in January.

Cody Blue
Posts: 0
Joined: Sun Aug 25, 2013 2:11 am

Panel display issue with back button

I understand that. Good you guys are considering addition of the component in Appery.

I don't need the panel to remain open. I simply want the panel to open up when the corresponding button is pressed on main page, after the back operation is completed.

Currently the behavior is erroneous (ie after back operation the panel does now show on press of corresponding button). I cannot find anything wrong with my implementation.

maxkatz
Posts: 0
Joined: Fri Aug 13, 2010 3:24 pm

Panel display issue with back button

I'd first check if there are any errors in the console when you click on the panel after navigation.

Cody Blue
Posts: 0
Joined: Sun Aug 25, 2013 2:11 am

Panel display issue with back button

Actually there aren't any. Attached is the console log (which remains same whether or not panel is invoked). Image

maxkatz
Posts: 0
Joined: Fri Aug 13, 2010 3:24 pm

Panel display issue with back button

Can you share the app link so we can try it?

Cody Blue
Posts: 0
Joined: Sun Aug 25, 2013 2:11 am

Panel display issue with back button

Sure, I have shared the project with a href="mailto:support@appery.io" rel="nofollow"support@appery.io/a. You would just need to run a test and click on top left menu button in the header which will open the panel, and choose View on Map option, and then press the back button. The menu panel will no longer work.

maxkatz
Posts: 0
Joined: Fri Aug 13, 2010 3:24 pm

Panel display issue with back button

What's the app name? Or, you can just share the public app link here.

Cody Blue
Posts: 0
Joined: Sun Aug 25, 2013 2:11 am

Panel display issue with back button

The app name is Ranzo.

maxkatz
Posts: 0
Joined: Fri Aug 13, 2010 3:24 pm

Panel display issue with back button

What are the exact steps reproduce the issue?

Here is what I did and it seems to work:

  • Clicked on More icon, menu opened
  • Clicked on an item, another page opened
  • Clicked Back button (in header)
  • Ended up on the page with menu opened.

Return to “Issues”