{ "id": "171999", "key": "TIMOB-26255", "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": [], "resolution": null, "resolutiondate": null, "created": "2018-08-03T21:16:59.000+0000", "priority": { "name": "Low", "id": "4" }, "labels": [ "engSchedule", "ios", "picker" ], "versions": [], "issuelinks": [ { "id": "56708", "type": { "id": "10003", "name": "Relates", "inward": "relates to", "outward": "relates to" }, "inwardIssue": { "id": "171731", "key": "TIMOB-26104", "fields": { "summary": "Android: Removing and re-adding drop-down picker resets last selection", "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": "Critical", "id": "1" }, "issuetype": { "id": "1", "description": "A problem which impairs or prevents the functions of the product.", "name": "Bug", "subtask": false } } } }, { "id": "56707", "type": { "id": "10003", "name": "Relates", "inward": "relates to", "outward": "relates to" }, "inwardIssue": { "id": "80277", "key": "TIMOB-5281", "fields": { "summary": "iOS: ScrollableView dropping views (w/ more than three views)", "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": "Low", "id": "4" }, "issuetype": { "id": "1", "description": "A problem which impairs or prevents the functions of the product.", "name": "Bug", "subtask": false } } } } ], "assignee": null, "updated": "2019-04-16T15:37:39.000+0000", "status": { "description": "The issue is open and ready for the assignee to start work on it.", "name": "Open", "id": "1", "statusCategory": { "id": 2, "key": "new", "colorName": "blue-gray", "name": "To Do" } }, "components": [ { "id": "10206", "name": "iOS", "description": "iOS Platform" } ], "description": "*Summary:*\r\nPicker resets its selection back to the 1st row when it's removed and re-added to the window. This happens with single-column and multicolumn pickers.\r\n\r\n*Steps to reproduce:*\r\n# Create a project using the attached [^SinglePickerAddRemoveTest.js] code.\r\n# Build and run on iOS.\r\n# Select the last row in the picker.\r\n# Tap the \"Remove\" button.\r\n# Tap the \"Add\" button.\r\n# Observe the picker's current selection.\r\n\r\n*Result:*\r\nPicker resets its selection to the 1st row when re-added to the window.\r\n\r\n*Expected Result:*\r\nLast selection should be retained.\r\n", "attachment": [ { "id": "65411", "filename": "MultiPickerAddRemoveTest.js", "author": { "name": "jquick", "key": "jquick", "displayName": "Joshua Quick", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2018-08-03T19:09:36.000+0000", "size": 960, "mimeType": "application/x-javascript" }, { "id": "65410", "filename": "SinglePickerAddRemoveTest.js", "author": { "name": "jquick", "key": "jquick", "displayName": "Joshua Quick", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2018-08-03T19:09:36.000+0000", "size": 679, "mimeType": "application/x-javascript" } ], "flagged": false, "summary": "iOS: Removing and re-adding \"plain\" picker resets last selection", "creator": { "name": "jquick", "key": "jquick", "displayName": "Joshua Quick", "active": true, "timeZone": "America/Los_Angeles" }, "subtasks": [], "reporter": { "name": "jquick", "key": "jquick", "displayName": "Joshua Quick", "active": true, "timeZone": "America/Los_Angeles" }, "environment": null, "comment": { "comments": [], "maxResults": 0, "total": 0, "startAt": 0 } } }