The position of the cursor in inpute gets lost, what should I do?
Hello everyone, actually there is a problem.
It is necessary to make the text disappear on the first click, and remain on the next. There are about 10 identical inputs per page. And the second moment, the most difficult. I tried to do something, but there is a gap. that when focusing, the cursor rises to the right place, then you enter the letter, he puts it where it is necessary, but after that the cursor flies to the end of the line !!! but the natural behavior of the input is necessary, but taking into account the separators !!! What to do!!! There is a feeling that I started to reinvent the wheel, maybe there is some simple solution to my problem ?! That I'm so much d * coded)))
To place the code, please use CodePen or similar tool. Thanks you!