0
votes

I use JQuery mobile to develop an Web-App. On computer textarea work fine. When i test on IOS device, i get the popup keyboard but i can't type anything.


HTML

<label for="msg">Observations:</label>
<textarea name="msg" id="obs"></textarea>

info :

Any help would be greatly appreciated =)

1
and some code would be greatly appreciated =)Omar
I tried code provided with same libraries and it works fine on iOS7, iPad. No problems with typing... It should be something else, like if you set maxlength='0' on text area, or some javascript to prevent typing.Yuriy Kvartsyanyy

1 Answers

4
votes

like @yuriy-kvartsyanyy said the problem come from something else. In my case, it's came from css :

style.css

* {
    -webkit-touch-callout: none;
    -webkit-user-select: none;
}

I added this line in my css to solve my problem

style.css

textarea {
    -webkit-user-select: auto;
}