Skip to content
This repository has been archived by the owner on Sep 5, 2024. It is now read-only.

Input doesn't render correctly on iOS safari #1636

Closed
borey opened this issue Feb 24, 2015 · 11 comments
Closed

Input doesn't render correctly on iOS safari #1636

borey opened this issue Feb 24, 2015 · 11 comments
Assignees
Milestone

Comments

@borey
Copy link

borey commented Feb 24, 2015

This happens on safari running on iOS 8.1.2 (iphone 5s)

start typing

Here's what happens after After clicking on autocomplete word
click auto complete

@varunis
Copy link

varunis commented Feb 25, 2015

I think this is realated to open bug in input #1485

@borey
Copy link
Author

borey commented Mar 2, 2015

Seem it's not totally fixed. I still couldn't see the text after i click on suggested word.

I'm testing with https://material.angularjs.org/ at commit v0.8.2 - SHA fbe8c62.

@depoll
Copy link

depoll commented Mar 3, 2015

+1 -- encountering this with a simple email address field.

<md-input-container class="login-input-container">
    <label>Email or Phone</label>
    <input name="identifier"
            type="email"
            autocapitalize="off"
            ng-model="credentials.identifier"
            ng-minlength="3"
            ng-trim="true"
            required />
    <ng-messages for="authForm.identifier.$error" ng-show="authForm.identifier.$dirty">
        <ng-message when="required">You must provide an email or phone number</ng-message>
        <ng-message when="minlength">Invalid email address or phone number</ng-message>
    </ng-messages>
</md-input-container>

@mpiasta-ca
Copy link

+1 Just tested in iPhone 6 Plus and text appears hidden/invisible when typing. I was going to convert our app to ngMaterial but will have to wait until this bug is fixed. Pretty critical if a user can't see input as 99% of our app is forms.

@ThomasBurleson ThomasBurleson added this to the 0.9.0 milestone Mar 11, 2015
@ThomasBurleson ThomasBurleson self-assigned this Mar 11, 2015
@depoll
Copy link

depoll commented Mar 13, 2015

FYI, the following CSS seems to have fixed the issue for me:

input, button, textarea, select {
    -webkit-transform: translate3d(0,0,0);
}

@depoll
Copy link

depoll commented Mar 13, 2015

(note, there are a couple of other elements that disappear on screen rotation, hence my inclusion of more than input/textarea here -- those are probably sufficient to fix this specific bug)

@marcysutton
Copy link
Contributor

I'm not seeing the same issues any longer–there is no indent in the text input and it scrolls into view when I start typing. I'm going to close this as I'm pretty sure it is fixed, but let us know if it persists after 0.9.0 is out (very soon).

@jpike88
Copy link
Contributor

jpike88 commented Feb 9, 2016

This issue has returned, please reopen it as it needs urgent attention before this framework can be considered ready for production use.

@mnlekarev
Copy link

@rodrigopedra
Copy link

same issue here with 1.5.0. I am using @depoll css to fix it. Only happens with inputs using ng-model

@jkruse
Copy link

jkruse commented Aug 29, 2016

Might have nothing to do with material: http://stackoverflow.com/questions/28730103/ios-textarea-text-hidden-when-using-webkit-overflow-scrolling-touch (I'm having the same issue without using material, just stumbled on this issue)

@angular angular locked and limited conversation to collaborators Aug 29, 2016
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

10 participants