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
Vybrané riešenie
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!
Čítať túto odpoveď v kontexte 👍 0Všetky odpovede (1)
Vybrané riešenie
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!
Upravil(a) m4rc0 dňa