You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: src/textAngular.js
+4-1Lines changed: 4 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -28,8 +28,11 @@ See README.md or https://github.com/fraywing/textAngular/wiki for requirements a
28
28
if(!isEditable){
29
29
document.getElementById('textAngular-editableFix-010203040506070809').setSelectionRange(0,0);// set caret focus to an element that handles caret focus correctly.
30
30
curelement.focus();// focus the wanted element.
31
+
if(curelement.select){
32
+
curelement.select();// use select to place cursor for input elements.
0 commit comments