mirror of
https://github.com/hodgef/simple-keyboard.git
synced 2025-02-01 02:53:07 +08:00
Fix caret positioning
This commit is contained in:
parent
b2f7bac585
commit
fec9d24a19
@ -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;
|
||||||
|
Loading…
Reference in New Issue
Block a user