| GitHub Issue | n/a |
| Type | Bug |
| Priority | None |
| Status | Closed |
| Resolution | Fixed |
| Resolution Date | 2020-04-10T21:12:53.000+0000 |
| Affected Version/s | Release 8.2.0, Release 9.0.0, Release 8.3.1 |
| Fix Version/s | Release 9.0.1 |
| Components | iOS |
| Labels | color, ios-10, searchbar, showcancel |
| Reporter | Sohail Saddique |
| Assignee | Vijay Singh |
| Created | 2020-03-24T17:28:45.000+0000 |
| Updated | 2020-06-10T13:03:56.000+0000 |
If showCancel property is set (either true or false), then the color property will not work as expected if used as a standalone SearchBar. This issue does not affect the classic version, only in Alloy/TSS.
Please download attached test case to verify.
PR (master)- https://github.com/appcelerator/titanium_mobile/pull/11572 PR (9_0_X) - https://github.com/appcelerator/titanium_mobile/pull/11573 Test Case -
var win = Ti.UI.createWindow({ backgroundColor: '#fff' }); var searchBar = Ti.UI.createSearchBar({ color: 'red', barColor: 'gray', showCancel: 'true', hintTextColor: 'red', hintText: 'Enter Value', height: 43, top: 100 }); win.add(searchBar); win.open();FR Passed for Master and 9_0_X.
merged to master and 9_0_X
Verified on: Mac OS: 10.15.4 SDK: 9.0.1.v20200409100807, 9.1.0.v20200409073825 Appc CLI: 8.0.0 JDK: 11.0.4 Node: 10.17.0 Studio: 6.0.0.202003181504 Xcode: 11.4 Device: iOS simulator 13.2