{ "id": "153801", "key": "AC-1574", "fields": { "issuetype": { "id": "1", "description": "A problem which impairs or prevents the functions of the product.", "name": "Bug", "subtask": false }, "project": { "id": "12217", "key": "AC", "name": "Appcelerator - INBOX", "projectCategory": { "id": "10000", "description": "", "name": "Customer Service" } }, "resolution": { "id": "8", "description": "", "name": "Needs more info" }, "resolutiondate": "2015-12-22T08:51:34.000+0000", "created": "2015-12-12T12:17:23.000+0000", "labels": [ "windows", "windows8.1", "windows_phone" ], "versions": [ { "id": "17035", "name": "Appcelerator Studio 4.4.0", "archived": false, "released": false } ], "issuelinks": [], "assignee": { "name": "mrahman", "key": "mrahman", "displayName": "Mostafizur Rahman", "active": true, "timeZone": "Asia/Dhaka" }, "updated": "2016-03-08T07:38:02.000+0000", "status": { "description": "A resolution has been taken, and it is awaiting verification by reporter. From here issues are either reopened, or are closed.", "name": "Resolved", "id": "5", "statusCategory": { "id": 3, "key": "done", "colorName": "green", "name": "Done" } }, "components": [ { "id": "14548", "name": "Titanium SDK & CLI", "description": "Please enter tickets related to the MobileSDK here." } ], "description": "ListView example:\r\n\r\n\r\n\t\t\t\t\t\r\n\t\t\t\t\t\t\r\n\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t\r\n\t\t\t\t\t\r\n\t\t \r\n\t\t \t\r\n\t\t \r\n\r\nWhen one or more itemtemplate are added to ListSection appears in first position an blank itemtemplate (same height of other) at position -1.\r\nThe $.listsection.items.length if you add 2 elements give 2 as result but there is another element at position -1 (see pic).", "attachment": [ { "id": "57758", "filename": "windows_02.jpg", "author": { "name": "luk3luk3", "key": "luk3luk3", "displayName": "Luca Sartori", "active": true, "timeZone": "Europe/Rome" }, "created": "2015-12-12T12:16:37.000+0000", "size": 50916, "mimeType": "image/jpeg" } ], "flagged": false, "summary": "Windows: ListSection when add an ItemTemplate appear a ghost element at position -1", "creator": { "name": "luk3luk3", "key": "luk3luk3", "displayName": "Luca Sartori", "active": true, "timeZone": "Europe/Rome" }, "subtasks": [], "reporter": { "name": "luk3luk3", "key": "luk3luk3", "displayName": "Luca Sartori", "active": true, "timeZone": "Europe/Rome" }, "environment": "OS: Windows 8.1 Pro \r\nVisual Studio: 2013 Update 4 \r\nAppcelerator Studio: 4.4.0 \r\nTitanium SDK: 5.1.1.GA", "comment": { "comments": [ { "id": "372994", "author": { "name": "sdarda", "key": "sdarda", "displayName": "Sharif AbuDarda", "active": false, "timeZone": "Asia/Dhaka" }, "body": "Hello [~luk3luk3], I wasn't able to reproduce the issue with your sample code. I made some changes on the code. Below is the code that i tried. \r\n{code}\r\n\r\n\t\r\n\t\t\r\n\t\t\t\r\n\t\t\t\t\r\n\t\t\t\t\t\r\n\t\t\t\t\t\t\r\n\t\t\t\t\t\t\r\n\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t\r\n\t\t\t\t\t\r\n\t\t\t\t\r\n\t\t\t\r\n\t\t\t\r\n\t\t\t\t\r\n\t\t\t\t\r\n\t\t\t\t\r\n\t\t\t\r\n\t\t\r\n\t\r\n\r\n{code}\r\n\r\nPlease provide a full code which demonstrate the issue as u described. Thanks.\r\n", "updateAuthor": { "name": "sdarda", "key": "sdarda", "displayName": "Sharif AbuDarda", "active": false, "timeZone": "Asia/Dhaka" }, "created": "2015-12-15T10:26:21.000+0000", "updated": "2015-12-15T10:26:21.000+0000" } ], "maxResults": 1, "total": 1, "startAt": 0 } } }