{ "id": "160349", "key": "TIMOB-23413", "fields": { "issuetype": { "id": "1", "description": "A problem which impairs or prevents the functions of the product.", "name": "Bug", "subtask": false }, "project": { "id": "10153", "key": "TIMOB", "name": "Titanium SDK/CLI", "projectCategory": { "id": "10100", "description": "Titanium and related SDKs used in application development", "name": "Client" } }, "fixVersions": [ { "id": "17706", "name": "Release 5.4.0", "archived": false, "released": true, "releaseDate": "2016-08-11" } ], "resolution": { "id": "3", "description": "The problem is a duplicate of an existing issue.", "name": "Duplicate" }, "resolutiondate": "2016-05-20T03:30:39.000+0000", "created": "2016-05-19T02:09:09.000+0000", "priority": { "name": "Critical", "id": "1" }, "labels": [ "ios", "qe-5.4.0" ], "versions": [ { "id": "17993", "description": "Release 5.2.2", "name": "Release 5.2.2", "archived": false, "released": true, "releaseDate": "2016-04-05" } ], "issuelinks": [ { "id": "51756", "type": { "id": "10002", "name": "Duplicate", "inward": "is duplicated by", "outward": "duplicates" }, "outwardIssue": { "id": "155139", "key": "TIMOB-20464", "fields": { "summary": "iOS: Picker does not accept percent as height/width", "status": { "description": "The issue is considered finished, the resolution is correct. Issues which are closed can be reopened.", "name": "Closed", "id": "6", "statusCategory": { "id": 3, "key": "done", "colorName": "green", "name": "Done" } }, "priority": { "name": "High", "id": "2" }, "issuetype": { "id": "1", "description": "A problem which impairs or prevents the functions of the product.", "name": "Bug", "subtask": false } } } } ], "assignee": { "name": "cng", "key": "cng", "displayName": "Chee Kiat Ng", "active": false, "timeZone": "America/Los_Angeles" }, "updated": "2016-06-14T17:21:11.000+0000", "status": { "description": "The issue is considered finished, the resolution is correct. Issues which are closed can be reopened.", "name": "Closed", "id": "6", "statusCategory": { "id": 3, "key": "done", "colorName": "green", "name": "Done" } }, "components": [ { "id": "10206", "name": "iOS", "description": "iOS Platform" } ], "description": "iOS Picker accepts width styling in units, but not in percentages. When using a percentage for the Picker width, it defaults to smallest possible size. Both units and percentages work in Android. To recreate:\r\n\r\n*WORKS:*\r\n\r\n{{\r\n\t\r\n\t\t\r\n\t\t\r\n\t\t\r\n\t\r\n}}\r\n\r\n*DOESN'T WORK:*\r\n\r\n{{\r\n\t\r\n\t\t\r\n\t\t\r\n\t\t\r\n\t\r\n}}\r\n\r\nIssue makes it a nightmare to code standardized forms for multiple devices. ", "attachment": [ { "id": "59300", "filename": "Screen Shot 2016-05-18 at 9.51.58 PM.png", "author": { "name": "webtys", "key": "webtys", "displayName": "Bryant T.", "active": true, "timeZone": "America/New_York" }, "created": "2016-05-19T01:52:33.000+0000", "size": 23376, "mimeType": "image/png" } ], "flagged": false, "summary": "Picker Width Sizing Bug on iOS", "creator": { "name": "webtys", "key": "webtys", "displayName": "Bryant T.", "active": true, "timeZone": "America/New_York" }, "subtasks": [], "reporter": { "name": "webtys", "key": "webtys", "displayName": "Bryant T.", "active": true, "timeZone": "America/New_York" }, "environment": "OS X El Capitan\r\nVersion 10.11.4\r\n5.2.2.GA\r\nAny iOS Simulator - v9.3", "comment": { "comments": [ { "id": "386211", "author": { "name": "sdarda", "key": "sdarda", "displayName": "Sharif AbuDarda", "active": false, "timeZone": "Asia/Dhaka" }, "body": "Hello, I tested the issue in IOS 9.2. I have observed the similar issue. Picker width sizing/PickerColumn width sizing is not working properly when used \"%\". Like when width=\"70%\" used, it will work as width=\"70\". And when width=\"70\" used, it works as expected as width=\"70\". So, using % is not working for iOS. It's working fine for Android. Below code will demonstrate the issue in iOS. \r\n\r\n{code}\r\n\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n\r\n{code}\r\n\r\nEnvironment:\r\n\r\nSDK 5.2.2.GA,\r\niOS 9.2 \r\n\r\n\r\nRegards,\r\nSharif.\r\n", "updateAuthor": { "name": "sdarda", "key": "sdarda", "displayName": "Sharif AbuDarda", "active": false, "timeZone": "Asia/Dhaka" }, "created": "2016-05-19T15:51:49.000+0000", "updated": "2016-05-19T15:51:49.000+0000" }, { "id": "386298", "author": { "name": "cng", "key": "cng", "displayName": "Chee Kiat Ng", "active": false, "timeZone": "America/Los_Angeles" }, "body": "Resolving as duplicate of an existing ticket. the fix is in 5.4.0.", "updateAuthor": { "name": "cng", "key": "cng", "displayName": "Chee Kiat Ng", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2016-05-20T03:29:40.000+0000", "updated": "2016-05-20T03:29:40.000+0000" }, { "id": "388307", "author": { "name": "htbryant", "key": "htbryant", "displayName": "Harry Bryant", "active": true, "timeZone": "Europe/London" }, "body": "Closing ticket as fixed. Although the existing ticket that this one duplicates was closed as Won't Fix, Width Sizing a Picker element with % values works correctly, despite Height Sizing a Picker element not working with % values.\r\n\r\nTested On:\r\niPhone 6S (9.3.2) Device & iPhone 6 Plus (8.3) Device\r\nMac OSX El Capitan 10.11.5 \r\nTi SDK: 5.4.0.v20160608165242\r\nAppc Studio: 4.6.0.201605201934\r\nAppc NPM: 4.2.7-2\r\nApp CLI: 5.4.0-15\r\nXcode 7.3\r\nNode v4.2.6\r\n\r\n*Closing ticket.*", "updateAuthor": { "name": "htbryant", "key": "htbryant", "displayName": "Harry Bryant", "active": true, "timeZone": "Europe/London" }, "created": "2016-06-14T17:20:48.000+0000", "updated": "2016-06-14T17:20:48.000+0000" } ], "maxResults": 4, "total": 4, "startAt": 0 } } }