Titanium JIRA Archive
Appcelerator Community (AC)

[AC-3617] iOS Dynamic Picker height broken

GitHub Issuen/a
TypeBug
Priorityn/a
StatusClosed
ResolutionFixed
Resolution Date2016-05-17T15:12:43.000+0000
Affected Version/sAppcelerator Studio 4.5.0
Fix Version/sn/a
ComponentsAlloy, Titanium SDK & CLI
Labelsios, picker
ReporterAmanda
AssigneeShak Hossain
Created2016-05-11T19:39:46.000+0000
Updated2016-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.

Comments

  1. Sharif AbuDarda 2016-05-11

    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.
  2. Hans Knöchel 2016-05-14

    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!

JSON Source