[AC-3617] iOS Dynamic Picker height broken
GitHub Issue | n/a |
---|---|
Type | Bug |
Priority | n/a |
Status | Closed |
Resolution | Fixed |
Resolution Date | 2016-05-17T15:12:43.000+0000 |
Affected Version/s | Appcelerator Studio 4.5.0 |
Fix Version/s | n/a |
Components | Alloy, Titanium SDK & CLI |
Labels | ios, picker |
Reporter | Amanda |
Assignee | Shak Hossain |
Created | 2016-05-11T19:39:46.000+0000 |
Updated | 2016-05-17T15:12:43.000+0000 |
Description
I have updated my project from 5.0.2 to 5.2.2.GA and it has broken the way my pickers work. I'm initially setting the pickers to a height of 0 in TSS (to hide them), then when i want to show them, i set to Ti.UI.SIZE. This worked before changing the SDK to the new version. Now the picker does not change height, it is stuck at 0. I've seen that it works if it is set initially to Ti.UI.SIZE then when the window opens, set to 0. But this results in a flashing of the picker when the window opens.
Hello, Please provide a reproducible test case. We will test the issue and try to reproduce the problem. We can advice or fix once we can regenerate the issue. Regards, Sharif.
Hey there! We fixed that (incorrect) behavior in the recent 5.1.0 release. Setting a height to 0 to hide a UI element is not advised and should be replaced by using the
visible
property instead. Thanks!