Commit 38ebc2c1 authored by Oleg Korshul's avatar Oleg Korshul

input bugs (developing...)

parent d12a8123
......@@ -473,6 +473,8 @@
return;
}
ti_console_log("ti: onInput");
if (AscCommon.AscBrowser.isMozilla)
{
if (c_oCompositionState.process == this.compositionState)
......@@ -546,6 +548,12 @@
if (c_oCompositionState.end == this.compositionState)
this.clear();
}
if (AscCommon.AscBrowser.isIeEdge && this.TextInputAfterComposition)
{
this.TextInputAfterComposition = false;
this.clear();
}
},
emulateNativeKeyDown : function(e)
......@@ -769,7 +777,7 @@
if (_code != 8 && _code != 46)
this.KeyDownFlag = true;
if (AscCommon.AscBrowser.isIE)
if (AscCommon.AscBrowser.isIE && !AscCommon.AscBrowser.isIeEdge)
{
if (_code == 13 || this.isSpaceSymbol(e))
{
......@@ -1100,6 +1108,8 @@
this.Api.End_CompositeInput();
}
this.Api.End_CompositeInput();
this.unlockTarget();
this.TextInputAfterComposition = true;
},
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment