Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-27820] iOS 10: SearchBar color property does not work with showCancel property

GitHub Issuen/a
TypeBug
PriorityNone
StatusClosed
ResolutionFixed
Resolution Date2020-04-10T21:12:53.000+0000
Affected Version/sRelease 8.2.0, Release 9.0.0, Release 8.3.1
Fix Version/sRelease 9.0.1
ComponentsiOS
Labelscolor, ios-10, searchbar, showcancel
ReporterSohail Saddique
AssigneeVijay Singh
Created2020-03-24T17:28:45.000+0000
Updated2020-06-10T13:03:56.000+0000

Description

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.

Attachments

FileDateSize
TIMOB-27754-iOS10.zip2020-03-24T17:28:14.000+00008660863

Comments

  1. Vijay Singh 2020-03-25

    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();
       
  2. Samir Mohammed 2020-04-08

    FR Passed for Master and 9_0_X.
  3. Christopher Williams 2020-04-09

    merged to master and 9_0_X
  4. Satyam Sekhri 2020-04-10

    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

JSON Source