[TIMOB-28536] iOS: TableView maintains search view focus after close
GitHub Issue | n/a |
---|---|
Type | Bug |
Priority | Critical |
Status | Closed |
Resolution | Fixed |
Resolution Date | 2021-09-21T19:24:31.000+0000 |
Affected Version/s | Release 10.0.1 |
Fix Version/s | Release 10.1.0 |
Components | iOS |
Labels | NavigationWindow, TableView, ios, regression, searchbar |
Reporter | Gary Mathews |
Assignee | Gary Mathews |
Created | 2021-09-16T18:20:15.000+0000 |
Updated | 2021-09-21T19:24:31.000+0000 |
Description
- TableView retains search focus when window closes, preventing touch events
*TEST CASE*
const win_a = Titanium.UI.createWindow({ title: 'Window A' });
const row = Ti.UI.createTableViewRow({ title: 'Open Window B' });
const table_a = Ti.UI.createTableView({ data: [ row ] });
const nav = Titanium.UI.createNavigationWindow({ window: win_a });
row.addEventListener('click', e => {
const win_b = Ti.UI.createWindow({ title: 'Window B' });
const table_b = Ti.UI.createTableView({
search: Ti.UI.createSearchBar(),
data: [ Ti.UI.createTableViewRow({ title: 'Focus search then navigate back' }) ]
});
win_b.add(table_b);
nav.openWindow(win_b);
});
win_a.add(table_a);
nav.open();
master: https://github.com/appcelerator/titanium_mobile/pull/13072