#304 wasn't merged correctly.
This is a Fix. "Make keyboard infrastructure route keys like []^$ the right way."
This commit is contained in:
parent
4012c32a55
commit
5e8da97474
1 changed files with 2 additions and 2 deletions
|
|
@ -64,9 +64,9 @@ var TextInput = function(parentNode, host) {
|
||||||
if (value.charCodeAt(value.length-1) == PLACEHOLDER.charCodeAt(0)) {
|
if (value.charCodeAt(value.length-1) == PLACEHOLDER.charCodeAt(0)) {
|
||||||
value = value.slice(0, -1);
|
value = value.slice(0, -1);
|
||||||
if (value)
|
if (value)
|
||||||
host.onTextInput(value);
|
host.onTextInput(value, !pasted);
|
||||||
} else {
|
} else {
|
||||||
host.onTextInput(value);
|
host.onTextInput(value, !pasted);
|
||||||
}
|
}
|
||||||
|
|
||||||
// If editor is no longer focused we quit immediately, since
|
// If editor is no longer focused we quit immediately, since
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue