fix #1300: selecting auto-type sequence items issues

This commit is contained in:
antelle 2019-10-12 18:56:33 +02:00
parent f346b73baa
commit 517134c95b
2 changed files with 4 additions and 1 deletions

View File

@ -77,7 +77,7 @@ class AutoTypeHintView extends View {
const pos = this.input.selectionEnd || this.input.value.length;
this.input.value = this.input.value.substr(0, pos) + text + this.input.value.substr(pos);
this.input.selectionStart = this.input.selectionEnd = pos + text.length;
this.input.dispatchEvent(new Event('input'));
this.input.dispatchEvent(new Event('input', { bubbles: true }));
}
}

View File

@ -1,5 +1,8 @@
Release notes
-------------
##### v1.11.9 (TBD)
`-` fix #1300: selecting auto-type sequence items issues
##### v1.11.8 (2019-10-11)
`-` fix #1292: macOS app notarization
`-` fix #1296: search in auto-type