Remove caret reset on inputName change

This commit is contained in:
Francisco Hodge
2021-04-12 22:29:20 -04:00
parent 9fe80c0897
commit f9a0d00367
2 changed files with 0 additions and 34 deletions
-13
View File
@@ -762,19 +762,6 @@ class SimpleKeyboard {
* @param {object} options The options to set
*/
onSetOptions(changedOptions: string[] = []): void {
/**
* Changed: inputName
*/
if (changedOptions.includes("inputName")) {
/**
* inputName changed. This requires a caretPosition reset
*/
if (this.options.debug) {
console.log("inputName changed. caretPosition reset.");
}
this.setCaretPosition(null);
}
/**
* Changed: layoutName
*/