Skip to content

Commit

Permalink
Workaround for accent key composition in Chrome 53+
Browse files Browse the repository at this point in the history
  • Loading branch information
James Allen authored and doog33k committed Feb 4, 2017
1 parent 2b5bef8 commit 9acfb23
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions lib/ace/keyboard/textinput.js
Expand Up @@ -432,6 +432,10 @@ var TextInput = function(parentNode, host) {
if (e.type == "compositionend" && c.range) {
host.selection.setRange(c.range);
}
// Workaround for #3027, #3045, #3097, #3100
if (useragent.isChrome && useragent.isChrome >= 53) {
onInput();
}
};


Expand Down

0 comments on commit 9acfb23

Please sign in to comment.