Merge pull request #12737 from dannon/fix-chrome-scrolling

[21.09] Fix chrome scrolling on insert in markdown editor
This commit is contained in:
Marius van den Beek
2021-10-19 14:21:03 +02:00
committed by GitHub
@@ -92,8 +92,8 @@ export default {
const textCursor = textArea.selectionEnd;
this.content = this.markdownText;
Vue.nextTick(() => {
textArea.focus();
textArea.selectionEnd = textCursor;
textArea.focus();
});
},
},