Can some one help me to get this resolved? Here is the stackblitz code I am working
If you know any workaround, please let me know.
The Caret/cursur keeps going to start position and typing backward.can anyone help me to get this resolved in Angular(Typescript)?I had to choose div instead of textarea as I have links.
(event.target as HTMLInputElement).focus();
document.execCommand('selectAll', true, null);
document.getSelection().collapseToEnd();