chris6348748
Posts: 0
Joined: Tue Oct 22, 2013 8:36 pm

Collapsible set will open, then close within 1 sec.

I'm new to this site and app making, so don't make too much fun if this is a dumb mistake on my end!

I have a single collapsible set mapped to a database output which adds multiple headers and cell info from the database. When the app is tested, the cells show up, however when the "+" is clicked, they will open (with the correct data inside) then close almost immediately. Also should note that if I un-check the "Collapsed" tick box for the master collapsible set, they will remain collapsed during test and act the same way as before.

Thanks!
Chris

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

Collapsible set will open, then close within 1 sec.

Hi Chris,

Where do you reproduce it? Do you use any event handlers for Collapsible set?

chris6348748
Posts: 0
Joined: Tue Oct 22, 2013 8:36 pm

Collapsible set will open, then close within 1 sec.

The problem is reproduced in the 'test' function on the app builder website. Also the only event that is used on the page i'm working with is: list_service success invoke service list_service This is loosely based on the todo list app tutorial and the list service name was slightly changed to have it make more sense while coding everything.

chris6348748
Posts: 0
Joined: Tue Oct 22, 2013 8:36 pm

Collapsible set will open, then close within 1 sec.

Also, not sure if this helps, while in the 'test' window, the number of database requests is constantly going up, while no actions are being clicked or should be taking place. I started at 3355 requests and within seconds and a page refresh the number was at 3537? There is nothing on the page that even comes close to calling the database that many times?

Igor
Posts: 0
Joined: Tue Apr 02, 2013 12:05 pm

Collapsible set will open, then close within 1 sec.

Hi,

Please make your app link public and send us that link.

chris6348748
Posts: 0
Joined: Tue Oct 22, 2013 8:36 pm

Collapsible set will open, then close within 1 sec.

Here is the link: http://appery.io/app/mobile-frame?src...

The start page will come up, then click Appliances, then that page is the one in question. Hopefully you aren't on there long, as I think my database use will go through the roof and I will get cutoff haha! I have 2 database entries that are just for testing purposes, which are the 2 that will be listed. I believe "washer" and "dryer".

Igor
Posts: 0
Joined: Tue Apr 02, 2013 12:05 pm

Collapsible set will open, then close within 1 sec.

On "appliances" screen- "managemyhome_appliances_list_service" service parameters - remove service call on success event. It should help.

chris6348748
Posts: 0
Joined: Tue Oct 22, 2013 8:36 pm

Collapsible set will open, then close within 1 sec.

Worked very well! Thank you!! Can I add a refresh button and pin that event to it instead of an 'on load success' event? The idea was to have current information each time the page was loaded, but I apparently put it into and endless loop!

Igor
Posts: 0
Joined: Tue Apr 02, 2013 12:05 pm

Collapsible set will open, then close within 1 sec.

Yes you can do this.

Return to “Issues”