Ionic-framework: bug: ios cursor missing in contenteditable div

Created on 27 Jul 2015  路  3Comments  路  Source: ionic-team/ionic-framework

Type: bug

Platform: ios 8 webview

I put this in my css file

div[contenteditable=true] {
  -webkit-user-select: auto !important;
  -khtml-user-select: auto !important;
  -moz-user-select: auto !important;
  -ms-user-select: auto !important;
  -o-user-select: auto !important;
  user-select: auto !important;
}

and I have this in my ion-content:

<div id='input' contenteditable=true >
    test
</div>

it works fine in browser and android,but in ios no cursor is shown when click this div,I can edit it's content although.

Most helpful comment

@Nick-The-Uncharted What was the solution?

All 3 comments

@Nick-The-Uncharted What was the solution?

[contenteditable] {
        -webkit-user-select: text;
        user-select: text;
}

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.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

alexbainbridge picture alexbainbridge  路  3Comments

brandyscarney picture brandyscarney  路  3Comments

alexbainbridge picture alexbainbridge  路  3Comments

MrBokeh picture MrBokeh  路  3Comments

alan-agius4 picture alan-agius4  路  3Comments