Set cursor position when input is onFocus?

前端 未结 0 374
你的背包
你的背包 2021-01-29 22:23

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

相关标签:
回答
  • 消灭零回复
提交回复
热议问题