Invisible element can't be shown with show() method after last weekend's update

This forum contains topics that were moved from Get Satisfaction
Kal
Posts: 0
Joined: Thu May 22, 2014 11:03 pm

Invisible element can't be shown with show() method after last weekend's update

Post by Kal »

In my project I have several places where I have a grid that is initially invisible, but then becomes visible after some actions are taken. Used to work fine till the weekend's update.

Now, if the grid starts out hidden, it can never be shown. However if it starts out visible, it can be hidden then shown.

I have shared a project called Problems10-20-14 with Support, which illustrates the problem. Ignore the bottom part of the screen, this is a different problem, for which I will open another bug report.

Thanks,
-Kal.

obullei
Posts: 0
Joined: Thu Jun 05, 2014 12:17 am

Invisible element can't be shown with show() method after last weekend's update

Post by obullei »

Hello!
Could you check are there any errors in console?
This should help:
http://devcenter.appery.io/documentat...

Kal
Posts: 0
Joined: Thu May 22, 2014 11:03 pm

Invisible element can't be shown with show() method after last weekend's update

Post by Kal »

Nope, no errors logged in the console. Please take a look at the project I shared and look for yourself.

Thanks,
-Kal.

Yurii Orishchuk
Posts: 0
Joined: Fri Feb 14, 2014 8:20 am

Invisible element can't be shown with show() method after last weekend's update

Post by Yurii Orishchuk »

Hi Kal,

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.

Kal
Posts: 0
Joined: Thu May 22, 2014 11:03 pm

Invisible element can't be shown with show() method after last weekend's update

Post by Kal »

Thanks for the suggestion Yurii, but it is not very practical for me. I have this app with MANY MANY hidden elements that get turned on at different times. For me to track down all of them, set them visible, then set them invisible programmatically is a huge pain. The app has been working fine for a while now, and suddenly a small update I made broke the whole app for every user. This was not a very acceptable situation!

Hope this can be fixed soon.

Thanks,
-Kal.

Kal
Posts: 0
Joined: Thu May 22, 2014 11:03 pm

Invisible element can't be shown with show() method after last weekend's update

Post by Kal »

Can you give me an indication if this is likely to be fixed soon (as in today?). If not, I will need to go ahead and make all the changes and re-test the entire code base, but if that is the case, I would rather get started at once.

Thanks,
-Kal.

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

Invisible element can't be shown with show() method after last weekend's update

Post by Kateryna Grynko »

Hi Kal,

You can run method code.hide();/code for any set of components using CSS selector as follows:pre$(".ui-checkbox").hide();/pre

Kal
Posts: 0
Joined: Thu May 22, 2014 11:03 pm

Invisible element can't be shown with show() method after last weekend's update

Post by Kal »

Good thought, but I have many individual components that need hiding, not a set of components of the same type :(

OK, I guess I will just go ahead and code around this bug...

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

Invisible element can't be shown with show() method after last weekend's update

Post by Kateryna Grynko »

Hi Kal,

Probably it will be better. Please let us know about the result of if you need any help!

Kal
Posts: 0
Joined: Thu May 22, 2014 11:03 pm

Invisible element can't be shown with show() method after last weekend's update

Post by Kal »

Done. Wasn't too bad...

Post Reply