"Set Focus" on textarea doesn't appear to do anything
The following appears in a prototype under development:
When the user clicks the "@" icon, a "Set Value" action places "@jasper" into the textarea above it. That works just fine.
A "Set Focus" action after the "Set Value" is supposed to give focus to the textarea so that the user start typing a tweet to @jasper.
I expected that...
A text input cursor would appear at the beginning of the textarea, before "@jasper",
A text input cursor would appear after "@jasper", or
The entire contents of the textarea would be selected
as a result of the "Set Focus" action.
Any of those would be acceptable, although the last is what I would really like.
Unfortunately, the "Set Focus" action doesn't do anything. It might as well not even be there. I have no idea at all where focus might be after clicking the "@" icon, but it's sure not on that textarea, because typing after clicking that icon does nothing at all.