Fix context menu in firefox on windows
This commit is contained in:
@@ -2313,14 +2313,14 @@ var TextInput = function(parentNode, host) {
|
||||
}
|
||||
}, 0);
|
||||
}
|
||||
if (!useragent.isGecko || useragent.isMac) {
|
||||
// if (!useragent.isGecko || useragent.isMac) {
|
||||
var onContextMenu = function(e) {
|
||||
host.textInput.onContextMenu(e);
|
||||
onContextMenuClose();
|
||||
};
|
||||
event.addListener(host.renderer.scroller, "contextmenu", onContextMenu);
|
||||
event.addListener(text, "contextmenu", onContextMenu);
|
||||
}
|
||||
// }
|
||||
};
|
||||
|
||||
exports.TextInput = TextInput;
|
||||
|
||||
Reference in New Issue
Block a user