Fix old way paste (reset a selection)
This commit is contained in:
parent
34ce33b4cc
commit
2f01870f05
1 changed files with 1 additions and 0 deletions
|
|
@ -129,6 +129,7 @@ var TextInput = function(parentNode, host) {
|
||||||
if (pasted) {
|
if (pasted) {
|
||||||
var data = text.value;
|
var data = text.value;
|
||||||
resetValue();
|
resetValue();
|
||||||
|
resetSelection();
|
||||||
if (data)
|
if (data)
|
||||||
host.onPaste(data);
|
host.onPaste(data);
|
||||||
pasted = false;
|
pasted = false;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue