Uploaded image for project: 'Titanium SDK/CLI'
  1. Titanium SDK/CLI
  2. TIMOB-24203

iOS: TextField ignores backgroundColor when borderStyle set

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Critical
    • Resolution: Fixed
    • Affects Version/s: Release 6.0.0, Release 5.4.0, Release 5.5.1
    • Fix Version/s: Release 6.1.0
    • Component/s: iOS
    • Labels:
    • Environment:

      SDK 6.0.0

    • Sprint:
      2016 Sprint 25 SDK

      Description

      When you use the borderStyle property on IOS on a textfield, the SDK wrap your textfield in a view.
      The parent view keep the backgroundColor of the original textfield but the child has a white backgroundcolor.

      The parent should use a backgroundColor transparent and the child the backgroundcolor of the orignal textfield

      ".container": {
      	backgroundColor: "red"
      }
       
      "TextField": {
      	borderStyle: Titanium.UI.INPUT_BORDERSTYLE_ROUNDED,
      	width: 200,
      	height: 100,
      	backgroundColor: 'green'
      }
       
      <Alloy>
      	<Window class="container">
      		<TextField></TextField> 
      	</Window>
      </Alloy>
      

        Attachments

          Activity

            People

            • Assignee:
              hknoechel Hans Knöchel
              Reporter:
              baharroth Baharroth
              Reviewer:
              Vijay Singh
              Tester:
              Josh Longton
            • Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Backbone Issue Sync

                • Titanium SDK/CLI <> Titanium Mobile
                  Synced with:
                  TIMOB-10328
                  Sync status:
                  ERROR
                  Last received:
                  Last sent:

                  Git Source Code