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

bug(input): selecting an input makes the text wobble #9605

Closed
dylanvdmerwe opened this issue Dec 12, 2016 · 10 comments
Closed

bug(input): selecting an input makes the text wobble #9605

dylanvdmerwe opened this issue Dec 12, 2016 · 10 comments
Assignees
Milestone

Comments

@dylanvdmerwe
Copy link
Contributor

Ionic version: (check one with "x")

[x] 2.x

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

Current behavior:
On a simple page (no slides), when selecting an ion-input on an iOS device or iOS simulator, the text "wobbles" or jumps around. Works fine on Android.

input wobble

Related code:

  <ion-list [formGroup]="profileForm">
        <ion-item>
            <ion-icon name='person' item-left isActive='false'></ion-icon>
            <ion-label stacked>Name</ion-label>
            <ion-input type="text" [(ngModel)]='user.Name' formControlName="firstName"></ion-input>
        </ion-item>
...
    input {
        font-size: .9em;
    }

Other information:

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

Cordova CLI: 6.4.0
Ionic Framework Version: 2.0.0-rc.3-201612121605
Ionic CLI Version: 2.1.17
Ionic App Lib Version: 2.1.7
Ionic App Scripts Version: 0.0.47
ios-deploy version: 1.9.0
ios-sim version: 5.0.10
OS: macOS Sierra
Node Version: v6.9.1
Xcode version: Xcode 8.1 Build version 8B62
@jgw96 jgw96 added the v2 label Dec 12, 2016
@jgw96
Copy link
Contributor

jgw96 commented Dec 14, 2016

Hey dylan! Unfortunately i cant seem to repro this on the iOS 8.4 sim, what version of iOS are you testing with?

@jgw96
Copy link
Contributor

jgw96 commented Dec 14, 2016

Hey! Quick update on this issue. I can reproduce it with the repo you gave me, but cant seem to repro it in the conf app or on another test app, so im working on finding the differences.

@dylanvdmerwe
Copy link
Contributor Author

Thanks Justin.

@jgw96 jgw96 added this to the 2.0.0-rc.5 milestone Dec 16, 2016
@brandyscarney brandyscarney self-assigned this Dec 16, 2016
@brandyscarney
Copy link
Member

Update: I can reproduce this using http://localhost:8000/dist/e2e/input/stacked-labels/ in safari on an iOS device.

@brandyscarney
Copy link
Member

This will be fixed in the next release, but I released a nightly with the fix as well:

npm install --save [email protected]

Can you try it out and let me know if you find any issues? Thanks. :)

@dylanvdmerwe
Copy link
Contributor Author

Much better. Tested and happy. Thanks Brandy.

@shimng
Copy link

shimng commented Jan 12, 2017

I still have this issue after the upgrade

@brandyscarney
Copy link
Member

@daniel9102 Could you provide some code that I can use to reproduce this please? :)

@shimng
Copy link

shimng commented Jan 13, 2017

@brandyscarney
I have this issue in iOS simulator and android device

Cordova CLI: 6.3.1 
Ionic Framework Version: 2.0.0-rc.5
Ionic CLI Version: 2.1.18
Ionic App Lib Version: 2.1.7
Ionic App Scripts Version: 0.0.47
ios-deploy version: 1.8.6 
ios-sim version: 5.0.8 
OS: macOS Sierra
Node Version: v6.5.0
Xcode version: Xcode 8.2.1 Build version 8C1002

My HTML

<form [formGroup]="login" (ngSubmit)="loginIn()">
        <ion-item>
          <ion-label >输入用户名</ion-label>
          <ion-input type="text" formControlName="username" ></ion-input>
        </ion-item>
        <ion-item>
          <ion-label>输入密码</ion-label>
          <ion-input type="password" formControlName="password" ></ion-input>
        </ion-item>
        <button padding type="submit" block ion-button color="primary" [disabled]="!login.valid">登录</button>
      </form>

video

@ionitron-bot
Copy link

ionitron-bot bot commented Sep 5, 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 5, 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

4 participants