ReactJS - Set cursor position inside textarea
Anonymous
Is there a way to programmatically set the cursor position inside a textarea?
My use-case is maintaining writing history. I can store the last position of the cursor, but I want to set this the next time the user visits the textarea.