[英]How to trigger a function when the typing cursor leaves the input text field?
[英]iPad - Text not visible when typing into input field (type=“text”)
我有一個帶有頁面的 ionic 2 應用程序,其中包含一個帶有多個輸入字段的 Web 表單。 當我在字段中輸入時,文本就在那里(我可以看到光標在我輸入時移動),但在我點擊字段外部或關閉虛擬鍵盤之前它是不可見的。 除了-webkit-appearance: none; border-radius: 0;
之外,我沒有使用任何特殊樣式-webkit-appearance: none; border-radius: 0;
-webkit-appearance: none; border-radius: 0;
有什么我忘記設置的嗎?
使用-webkit-appearance: none;
是問題所在。
在該行中鍵入會使輸入字段不可見。
聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.