Page 1 of 1

Apperyio("name").show doesnt work anymore after this update

Posted: Sun Oct 19, 2014 12:37 pm
by Matthew Huang

what is going on?


Apperyio("name").show doesnt work anymore after this update

Posted: Sun Oct 19, 2014 1:59 pm
by Alena Prykhodko

Hello,

Do you mean
preApperyio("name").show();/pre

Do you get any error in browser console?


Apperyio("name").show doesnt work anymore after this update

Posted: Sun Oct 19, 2014 3:22 pm
by Matthew Huang

no error , the grid just doesn't show anymore.

A grid was set to be invisible by default.
The "set property event" can't set the grid visible on button click.
And this javascript Apperyio("name").show(); doesnt work either.


Apperyio("name").show doesnt work anymore after this update

Posted: Sun Oct 19, 2014 4:00 pm
by Alena Prykhodko

Matthew,

I was able to reproduce. Should report it to developers.
As a workaround you can use

preApperyio("name").hide();/pre instead of using Visible Property.
In this case
preApperyio("name").show();/pre works


Apperyio("name").show doesnt work anymore after this update

Posted: Sun Oct 19, 2014 4:29 pm
by Matthew Huang

This way it works.
But that means I have to modify all the places where I used " set visible property". An update should not break anything even it is small, cause it will affect many people's existing working app.


Apperyio("name").show doesnt work anymore after this update

Posted: Sun Oct 19, 2014 4:35 pm
by Alena Prykhodko

Working on it.
Please stay tuned.


Apperyio("name").show doesnt work anymore after this update

Posted: Sun Oct 19, 2014 7:23 pm
by Govinda Dasu

I have the exact same issue. An update really shouldn't mess with our code or you'll find people quickly leaving Appery. You should really rethink how often you do updates and how carefully you approach them. To be honest, Appery is a pretty useful platform already because of it's UI builder and tight integration with jquery mobile and phonegap. Are updates that constantly break users' code really necessary? Please carry this feedback on to management.

Maybe you could release Appery in versions and not touch the previous versions. Say I am building my project on Appery v1.1, then I can myself choose to upgrade to Appery v1.2 at risk of my code breaking, or stick to v1.1 and be safe.


Apperyio("name").show doesnt work anymore after this update

Posted: Mon Oct 20, 2014 3:08 am
by anton6984647

I added in the class "display:none;" and the Apperyio("name").show(); works again.


Apperyio("name").show doesnt work anymore after this update

Posted: Mon Oct 20, 2014 10:15 pm
by Yurii Orishchuk

Hello,

The problem is in "Visible" property. http://prntscr.com/4y50qw/direct

That's a bug and we will update you here when this bug will be fixed.

Workaround is to "hide" element with other way:

1 Add "page load" event handler.

2 Use "Set property" as action and "Visible" with value "false". See details:

http://prntscr.com/4y52hd/direct

Also you you can use other 2nd step(instead):
2 Use "Run JavaScript" action type. And populate it with following code:

pre

Apperyio("componentName").hide();

/pre

After these steps you can show your events like you did it before.

Regards.


Apperyio("name").show doesnt work anymore after this update

Posted: Thu Dec 25, 2014 7:12 pm
by Alena Prykhodko

Hello,

Fixed now.