I need to set cursor (caret) to 1st position when input is focused:
CodeSandbox
I guess the following code should be working, but it\'s not. It wo