[AC-1170] ListView Scroll Problem
GitHub Issue | n/a |
---|---|
Type | Bug |
Priority | n/a |
Status | Resolved |
Resolution | Cannot Reproduce |
Resolution Date | 2014-06-10T17:38:39.000+0000 |
Affected Version/s | n/a |
Fix Version/s | n/a |
Components | n/a |
Labels | ios, listview, scroll |
Reporter | nicolomonili |
Assignee | Ritu Agrawal |
Created | 2014-05-06T19:14:40.000+0000 |
Updated | 2016-03-08T07:37:32.000+0000 |
Description
When the ListView scroll , the separator space disappear
TEST CODE , and VIDEO TEST attached
var plainTemplate = {
childTemplates : [{
type : 'Ti.UI.Label',
bindId : 'posizione',
properties : {
left : 0,
width : 300, //32
height : 20,
backgroundColor : "#42de0b",
textAlign : "center",
color : "white",
font : {
fontSize : 10
}
}
}]
};
var tabella_serie_A = Ti.UI.createListView({
width : 300,
height : 310,
bottom : 10,
separatorColor : 'white',
backgroundColor : 'transparent',
separatorInsets : {
left : 0,
right : 0
},
showVerticalScrollIndicator : false,
templates : {
'plain' : plainTemplate
},
defaultItemTemplate : 'plain'
});
var data = [];
for (var i = 1; i <= 20; i++) {
data.push({
posizione : {
text : i
},
properties : {
selectionStyle : Ti.UI.iPhone.ListViewCellSelectionStyle.NONE,
height : 20
}
});
}
var intestazione_serie_A = Ti.UI.createListSection({
//headerView : createheader(),
items : data
});
tabella_serie_A.sections = [intestazione_serie_A];
Attachments
File | Date | Size |
---|---|---|
listview.mov | 2014-05-06T19:14:40.000+0000 | 1912628 |
Screen Shot 2014-05-08 at 10.54.00 AM.png | 2014-05-08T18:10:16.000+0000 | 22207 |
Screen Shot 2014-05-08 at 10.54.20 AM.png | 2014-05-08T18:10:16.000+0000 | 22780 |
Screen Shot 2014-05-08 at 10.54.37 AM.png | 2014-05-08T18:10:16.000+0000 | 22463 |
[~nicolomonili] Thanks for the test case and video. However, I ran your test case and was not able to reproduce the issue. I am attaching the screenshots as well. Please let us know if the issue persists.
the problem persisted every time. I solved by placing the label in a view
We have not been able to reproduce this issue with the provided test case. Your video clearly shows the issue but the test case here does not match the application in the video. Can you please provide a test case that can reproduce the exact same issue?
Resolving the ticket as we have not heard back from the reporter. We will be happy to reopen once we get the test case.