mirror of
https://github.com/galaxyproject/galaxy.git
synced 2026-09-21 13:50:20 +08:00
Merge pull request #12737 from dannon/fix-chrome-scrolling
[21.09] Fix chrome scrolling on insert in markdown editor
This commit is contained in:
@@ -92,8 +92,8 @@ export default {
|
||||
const textCursor = textArea.selectionEnd;
|
||||
this.content = this.markdownText;
|
||||
Vue.nextTick(() => {
|
||||
textArea.focus();
|
||||
textArea.selectionEnd = textCursor;
|
||||
textArea.focus();
|
||||
});
|
||||
},
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user