Completely disable setting focus.
setSelectionRange causes Safari to set focus to the element. Trying to get rid of distracting focus changes that pops up an on-screen keyboard
This commit is contained in:
parent
318273a75d
commit
58a859b014
1 changed files with 0 additions and 2 deletions
|
@ -89,8 +89,6 @@ function openEditor() {
|
||||||
});
|
});
|
||||||
updateFormEnabledState();
|
updateFormEnabledState();
|
||||||
|
|
||||||
textarea.setSelectionRange(textarea.value.length, textarea.value.length);
|
|
||||||
|
|
||||||
if (state.hasBeenOpen) return;
|
if (state.hasBeenOpen) return;
|
||||||
state.hasBeenOpen = true;
|
state.hasBeenOpen = true;
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue