Fix contextual menu in Chrome (Windows)
This commit is contained in:
parent
fb401dc298
commit
9d82f0d406
1 changed files with 1 additions and 1 deletions
|
|
@ -298,7 +298,7 @@ var TextInput = function(parentNode, host) {
|
|||
host.renderer.$keepTextAreaAtCursor = null;
|
||||
|
||||
// on windows context menu is opened after mouseup
|
||||
if (useragent.isWin && (useragent.isGecko || useragent.isIE))
|
||||
if (useragent.isWin)
|
||||
event.capture(host.container, function(e) {
|
||||
text.style.left = e.clientX - 2 + "px";
|
||||
text.style.top = e.clientY - 2 + "px";
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue