fix #2395 context menu regression in Firefox on mac
This commit is contained in:
parent
dd69f5939c
commit
4af37cd722
1 changed files with 1 additions and 0 deletions
|
|
@ -76,6 +76,7 @@ var TextInput = function(parentNode, host) {
|
|||
resetSelection();
|
||||
});
|
||||
this.focus = function() {
|
||||
if (tempStyle) return text.focus();
|
||||
text.style.position = "fixed";
|
||||
text.style.top = "-1000px";
|
||||
text.focus();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue