简体   繁体   English

iPad - 在输入字段中输入时文本不可见(type =“text”)

[英]iPad - Text not visible when typing into input field (type=“text”)

I have an ionic 2 app with a page, which contains a web form with several input fields.我有一个带有页面的 ionic 2 应用程序,其中包含一个带有多个输入字段的 Web 表单。 When I type into the fields, the text is there (i can see the cursor move as I type) but it is not visible until I tap outside of the field or close the virtual keyboard.当我在字段中输入时,文本就在那里(我可以看到光标在我输入时移动),但在我点击字段外部或关闭虚拟键盘之前它是不可见的。 I am not using any special styling other than -webkit-appearance: none; border-radius: 0;除了-webkit-appearance: none; border-radius: 0;之外,我没有使用任何特殊样式-webkit-appearance: none; border-radius: 0; -webkit-appearance: none; border-radius: 0; Is there something I'm forgetting to set?有什么我忘记设置的吗?

Using -webkit-appearance: none;使用-webkit-appearance: none; is the problem.是问题所在。

Typing in that line makes the input field not visible.在该行中键入会使输入字段不可见。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM