Details
-
Type:
Bug
-
Status: Closed
-
Priority:
Medium
-
Resolution: Fixed
-
Affects Version/s: Release 6.1.2
-
Fix Version/s: Release 7.0.0
-
Component/s: Windows
-
Labels:None
-
Story Points:3
-
Sprint:2017 Sprint 17 SDK, 2017 Sprint 22 SDK, 2017 Sprint 23 SDK
Description
When text is entered in to the search bar and you press "X" to delete the text the "X" remains even though the text has been removed.
Test Steps:
+ Create a titanium project using 6.1.2.v20170727160839
+ Add the following code to the app.js
var win = Ti.UI.createWindow({ backgroundColor: 'green', layout: 'vertical' }); |
var search = Titanium.UI.createSearchBar({
|
width: 350, |
height: 143, |
showCancel: true, |
top: 0 |
});
|
win.add(search);
|
win.open();
|
+ Enter text in the search bar
+ Press "X"
Actual result
Text dissaperas but the "X" remains
Expected result
Text should disappear as well as the "X"
Additional Issue
When entering text the X only shows after the second character is entered, and only disappears after the hitting backspace again after removing the last character. (This only occurs on when showCancel: true, with default behaviour issue is not seen)
Attachments
Issue Links
- relates to
-
TIMOB-24966 Windows: Ti.UI.SearchBar's showCancel=false is ignored
-
- Closed
-