Place text caret at end of text to reduce visual distraction caused by stuff moving around
This commit is contained in:
parent
a00cdf6394
commit
999253a778
1 changed files with 1 additions and 0 deletions
|
@ -77,6 +77,7 @@ function openEditor() {
|
|||
|
||||
autosizeTextarea(textarea, shadow);
|
||||
|
||||
textarea.setSelectionRange(textarea.value.length, textarea.value.length);
|
||||
textarea.focus();
|
||||
|
||||
if (hasBeenOpen) return;
|
||||
|
|
Loading…
Reference in a new issue