input box type search inside a form does not show cursor when gets focus or when empty
hi, I have an inputbox of type search inside a form tag and when I click on the inputbox the caret does not show up. If I start writing it works and the inputbox is filled and the caret appears but when I delete the characters written and the inputbox is empty again the caret goes away. In other browser it works as long as I click on the inbutbox I get focus and cursor blinking as usual, the same if I delete the input chars and the inbutbox becomes empty but still (in other browser) I have the blinking cursor waiting for the input text. thx
被采纳的解决方案
m4rc0 said
hi, I have an inputbox of type search inside a form tag and when I click on the inputbox the caret does not show up. If I start writing it works and the inputbox is filled and the caret appears but when I delete the characters written and the inputbox is empty again the caret goes away. In other browser it works as long as I click on the inbutbox I get focus and cursor blinking as usual, the same if I delete the input chars and the inbutbox becomes empty but still (in other browser) I have the blinking cursor waiting for the input text. thx
hi there I have fixed myself my problem was the placeholder in the inputbox style sets up, as long as I have remove that css It works!
定位到答案原位置 👍 0所有回复 (1)
选择的解决方案
m4rc0 said
hi, I have an inputbox of type search inside a form tag and when I click on the inputbox the caret does not show up. If I start writing it works and the inputbox is filled and the caret appears but when I delete the characters written and the inputbox is empty again the caret goes away. In other browser it works as long as I click on the inbutbox I get focus and cursor blinking as usual, the same if I delete the input chars and the inbutbox becomes empty but still (in other browser) I have the blinking cursor waiting for the input text. thx
hi there I have fixed myself my problem was the placeholder in the inputbox style sets up, as long as I have remove that css It works!
由m4rc0于