caretToStart fails to show cursor in textarea.
Closed this issue · 0 comments
prasad83 commented
When content has newline in start (without any other character) - caretToStart fails to show cursor after it sets position. As a workaround I tried appending blank-space to content before pushing caretToStart.
Please review (http://stackoverflow.com/a/8928945) - can this be adopted?