Page 1 of 1

Popup Behaviour Bug

Posted: Wed Jan 17, 2018 5:16 am
by Deon

Hi

When you set storage variables on Page Show and change them programtatically and then open a popup, the popup resets the storage variable to the Page Show value.

EG.
Event PAGE SHOW Set Storage Var = 1
Do something to change the Storage Var to another value ie. 2
Storage vVar is successfully changed showing 2.
Then Open POPUP
Storage Var is automatically changed back to 1.

It seems that opening a POPUP recreates the PAGE SHOW Event.

It also clears component values that were set on Page Show event. Such as a the Select component which is reset. Seems Like the Service is re-executed to populate this component.

In other words it seems Opening a POPUP executes all the PAGE SHOW events.

Please can this be fixed. It is causing havoc.
Thanks


Popup Behaviour Bug

Posted: Fri Jan 19, 2018 10:25 pm
by Galyna Abramovych

Hello Deon,

The way you describe looks like the standard JQM behavior and not a bug. It just needs to be taken into consideration.