diff --git a/src/lib/components/Keyboard.ts b/src/lib/components/Keyboard.ts index 9bfb4a40..9a364ed4 100644 --- a/src/lib/components/Keyboard.ts +++ b/src/lib/components/Keyboard.ts @@ -580,6 +580,10 @@ class SimpleKeyboard { */ if(this.caretPositionEnd && this.caretPosition !== this.caretPositionEnd){ this.setCaretPosition(this.caretPositionEnd, this.caretPositionEnd); + + if(this.activeInputElement){ + this.activeInputElement.setSelectionRange(this.caretPositionEnd, this.caretPositionEnd); + } if(this.options.debug){ console.log("Caret position aligned", this.caretPosition);