Hacker News new | ask | show | jobs
by bikeshaving 1954 days ago
Trying to get an input to autofocus with any reliability in browsers is the third hardest problem in computer science.
2 comments

You can make an (obviously) fake blinking cursor at the end possibly with a label showing that it's editable.
Fake the cursor if needed
How do you make a fake cursor that works? When you click anywhere within the text, how do you know where to position the fake-cursor then? If you use arrow-keys it should move the cursor left and right and up and down respecting the line- and character boundaries.

One of the shortcomings of HTML/CSS seems to be that you can not style the cursor a.k.a caret.