fix cursor remains hidden if textarea is autofocused
This commit is contained in:
parent
5c0c33f470
commit
1a603dfa4e
1 changed files with 4 additions and 2 deletions
|
|
@ -51,8 +51,10 @@ var TextInput = function(parentNode, host) {
|
|||
text.style.top = "-2em";
|
||||
parentNode.insertBefore(text, parentNode.firstChild);
|
||||
|
||||
var PLACEHOLDER = useragent.isIE ? "\x01" : "\x01";
|
||||
sendText();
|
||||
var PLACEHOLDER = useragent.isIE ? "\x01" : "\x00";
|
||||
reset(true);
|
||||
if (isFocused())
|
||||
host.onFocus();
|
||||
|
||||
var inCompostion = false;
|
||||
var copied = false;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue