Problem description
When selecting a search bar on iPad, a mask appears to cover the scren (half transparent black layer). By clicking the button on the virtual keyboard to hide it, the keyboard goes away, but the mask is not removed.
Steps to reproduce
1) Using the code below, click on the search bar
2) click on the button to hide the keyboard
3) the mask does not appear (see screenshot)
Titanium.UI.setBackgroundColor('#000');
var win = Titanium.UI.createWindow({
backgroundColor : '#fff'
});
var allNoteTypes = [{
title : 'Plan 1'
}, {
title : 'Plan 2'
}, {
title : 'Plan 3'
}];
var searchBar = Ti.UI.createSearchBar();
var table = Ti.UI.createTableView({
top : 22,
width : "100%",
data : allNoteTypes,
search : searchBar
});
win.add(table);
win.open();
[~dcassenti] This is not a bug, this is the native behavior. The search view (i.e the transparent view) will remain on screen unless the cancel button is pressed or if the searchview itslef is tapped. This behavior can be noticed in native apps also. For example: [native app](http://cdn4.raywenderlich.com/downloads/CandySearch.zip) Marking ticket as invalid.
Closing ticket as invalid.