Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[3.2.0 / iOS] ion-input: Label's color unset when focused #11631

Closed
ThomasKientz opened this issue May 12, 2017 · 4 comments
Closed

[3.2.0 / iOS] ion-input: Label's color unset when focused #11631

ThomasKientz opened this issue May 12, 2017 · 4 comments

Comments

@ThomasKientz
Copy link

Ionic version: (check one with "x")
[ ] 1.x
[ ] 2.x
[x] 3.x

I'm submitting a ... (check one with "x")
[x] bug report

Current behavior:
On iOS, the input label's color is set to 'unset' when focused.

Expected behavior:
On iOS, when focused, the input label's color should correspond to its "color" attribute.

Related code:

    <ion-item>
      <ion-label color="primary" floating>Email</ion-label>
      <ion-input type="email"></ion-input>
    </ion-item>

Other information:
apppreview

Ionic info: (run ionic info from a terminal/cmd prompt and paste output below):

global packages:

    @ionic/cli-utils : 1.0.0
    Cordova CLI      : 6.5.0 
    Ionic CLI        : 3.0.0

local packages:

    @ionic/app-scripts              : 1.3.7
    @ionic/cli-plugin-cordova       : 1.0.0
    @ionic/cli-plugin-ionic-angular : 1.0.0
    Ionic Framework                 : ionic-angular 3.2.0

System:

    Node       : v7.5.0
    OS         : macOS Sierra
    Xcode      : Xcode 8.2.1 Build version 8C1002 
    ios-deploy : 1.9.0 
    ios-sim    : 5.0.11 
@jgw96
Copy link
Contributor

jgw96 commented May 12, 2017

Thanks, for opening an issue with us. We are looking into this.

@brandyscarney
Copy link
Member

brandyscarney commented May 12, 2017

I'm sure I broke this here 😭 588fad8

I'll look into fixing it, in the meantime you can set these variables to null:

$label-ios-text-color:                 null;
$label-ios-text-color-focused:         null;

@brandyscarney
Copy link
Member

I released a nightly with this fix in it, we'll have it in a patch version 3.2.1 soon:

npm install --save --save-exact ionic-angular@3.2.0-201705121627

@ionitron-bot
Copy link

ionitron-bot bot commented Sep 3, 2018

Thanks for the issue! This issue is being locked to prevent comments that are not relevant to the original issue. If this is still an issue with the latest version of Ionic, please create a new issue and ensure the template is fully filled out.

@ionitron-bot ionitron-bot bot locked and limited conversation to collaborators Sep 3, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants