Page 1 of 1

invisible textinputs are visible

Posted: Sun Mar 10, 2013 1:48 pm
by Michael4771079

Hi,
the top 5 textinput components are invisible in editor,
when loaded on iphone and app is opened these 5 inputs are visible for a second, and then disappear,
they do set property on load,

once page has been loaded once they stay invisible when you click between pages

How can I fix this?

Image


invisible textinputs are visible

Posted: Sun Mar 10, 2013 7:00 pm
by maxkatz

There is a small delay between when the page is loaded into the DOM and when the actions are invoked. Hide the elements without invoking any actions.


invisible textinputs are visible

Posted: Sun Mar 10, 2013 7:06 pm
by Michael4771079

Thanks Max,
but how can I load the prorerties required?


invisible textinputs are visible

Posted: Sun Mar 10, 2013 11:57 pm
by maxkatz

What do you mean by properties required..? The properties that determine whether to show/hide the image?


invisible textinputs are visible

Posted: Mon Mar 11, 2013 12:13 am
by Michael4771079

No Max,
its local storage that has been saved on another page and set on load, needed for sendgrid


invisible textinputs are visible

Posted: Mon Mar 11, 2013 2:01 am
by maxkatz

I think an option might be to use another event, one that occurs sooner.


invisible textinputs are visible

Posted: Mon Mar 11, 2013 2:22 am
by Michael4771079

Cheers Max,
i was thinking of that,
but before i go changing everything,
if I get these 5 components to set property on a previous screen they will be available for sendgrid on book screen,
and won't appear when marked invisible, on first load, of the latter "book" screen


invisible textinputs are visible

Posted: Mon Mar 11, 2013 3:00 am
by maxkatz

I'm not sure I understand the question...


invisible textinputs are visible

Posted: Mon Mar 11, 2013 1:32 pm
by Michael4771079

Hi Max,

when you say use another event, do you mean "before load" for example

and if so will before load solve these textinputs appearing when marked invisible


invisible textinputs are visible

Posted: Mon Mar 11, 2013 1:49 pm
by maxkatz

I'm not sure.. you might want to search and see what other people have done.