[TIMOB-5750] iOS: A separator is displayed on the search results of a TableView.
GitHub Issue | n/a |
---|---|
Type | Bug |
Priority | Low |
Status | Closed |
Resolution | Cannot Reproduce |
Resolution Date | 2011-10-13T14:31:51.000+0000 |
Affected Version/s | n/a |
Fix Version/s | Sprint 2011-44 |
Components | iOS |
Labels | searchbar, tableview |
Reporter | Kunio Murasawa |
Assignee | Stephen Tramer |
Created | 2011-10-04T23:19:59.000+0000 |
Updated | 2017-03-23T21:12:55.000+0000 |
Description
A separator was displayed in SDK5.0.
It is not displayed in SDK4.3.
// test program
var tabGroup = Titanium.UI.createTabGroup();
var win1 = Titanium.UI.createWindow({
title:'Tab 1',
backgroundColor:'#fff'
});
var tab1 = Titanium.UI.createTab({
title:'Tab 1',
window:win1
});
data = [
{ title: 'a1', header: 'a' },
{ title: 'a2' },
{ title: 'a3' },
{ title: 'a4' },
{ title: 'a5' },
{ title: 'b1', header: 'b' },
{ title: 'b2' },
{ title: 'b3' },
{ title: 'b4' },
{ title: 'b5' },
{ title: 'c1', header: 'c' },
{ title: 'c2' },
{ title: 'c3' },
{ title: 'c4' },
{ title: 'c5' },
];
index = [
{ title: 'a', index: 0 },
{ title: 'b', index: 5 },
{ title: 'c', index: 10 }
];
var search = Ti.UI.createSearchBar({
showCancel: false,
filterAttribute: 'title'
});
var tableView = Ti.UI.createTableView({
data: data,
index: index,
search: search
});
win1.add(tableView);
tabGroup.addTab(tab1);
tabGroup.open();
Attachments
File | Date | Size |
---|---|---|
SDK4.3.png | 2011-10-04T23:19:59.000+0000 | 123404 |
SDK5.0.png | 2011-10-04T23:19:59.000+0000 | 124109 |
This problem occurs in iOS5 device. iPhone SDK version is not related.
Kunio Your tickets will be easier to understand if you use the formatting markup provided. For help on this, click the question mark icon underneath the textFields. Cheers
Note that the previous message was intended for Kunio rather than Karol.
Karol Please remember to reassign tickets after moving them from the TC project. Thanks :)
Unable to reproduce in simulator or on device with SDK 5.0 from current master.
Please check again. It occur in Ti SDK 1.7.2, 1.7.3.v20111013094213 and 1.8.0.v20111013161411. !http://lh4.googleusercontent.com/-PB8ZsCAGxZo/TpeMIFYgTqI/AAAAAAAAAcc/9z_vGJQol3Y/s720/bug.png! http://picasaweb.google.com/117446683474720129000/Titanium
It happens 100%. Procedure 1. touch search bar 2. input "b" 3. tap "Search" button
This problem occur also in Ti SDK 1.7.5
Please consider reopening this issue: The same bug shows up in our app which has a tableview with sections and a searchbar. Titanium mobile SDK versions 1.7.5, 1.8.0.1.v20111123202050, 1.7.6.v20111122141108 iOS SDK 5 iPhone simulator from SDK 5 iPhone 4 with iOS 5.0.1 The bug does not show up in iPhone simulator from SDK 4.3
Again: please reopen this issue. Reproducable also in KichenSink table_view_headers_filter.js for Titanium mobile SDK versions 1.7.5, 1.8.0.1.v20111123202050, 1.7.6.v20111122141108 iOS SDK 5 iPhone simulator from SDK 5
This is also happening to me when I try to use custom cells at Table View. (v1.8 - iOs 5)
this is still happening on TiSDK 3.1.1 iOS 6. as [~kunio.murasawa] said, just: 1. touch search bar 2. input "b" 3. tap "Search" button if you set separatorColor = "transparent" or separatorStyle = Titanium.UI.iPhone.TableViewSeparatorStyle.NONE it will still show the separator.
Can verify this ticket as "Cannot Reproduce". Tested with the following environment; iPhone 7 and Simulator (10.2) MacOS 10.11.6 (15G31) Studio 4.8.1.201612050850 Ti SDK 6.0.3 GA Appc NPM 4.2.8 Appc CLI 6.1.0 Ti CLI 5.0.11 Alloy 1.9.5 Arrow 1.10.1 Xcode 8.2 (8C38) Node v4.6.0 Java 1.7.0_80