Fix caret positioning

This commit is contained in:
Francisco Hodge 2018-10-12 18:14:22 -04:00
parent b2f7bac585
commit fec9d24a19

View File

@ -210,6 +210,10 @@ class Utilities {
} }
removeAt(source, position){ removeAt(source, position){
if(this.simpleKeyboardInstance.caretPosition === 0){
return source;
}
let output; let output;
let prevTwoChars; let prevTwoChars;
let emojiMatched; let emojiMatched;