ionic input can't run on ios

I am experiencing the same issue and I am getting frustrated since I have been trying different approaches to workaround this issue and I don’t seem to find a suitable solution. I have used several css styles around the input control to see if I can solve the situation but I have not get any luck.

input[type='text'], input[type='email'], input[type='search'],
input[type='password'], textarea
{
-webkit-user-select: text;
-webkit-appearance: textfield;
}

I tried as well to isolate the issue placing the input element alone inside a form but even then I have problems in the iPad only (Chrome and safari in my windows environment works fine)..

Any help would be greatly appreciated!!!

[UPDATE] : after verifying that in fact the ionic.css is the culprit ( I removed it and then the input field started working normally in the iPad)… I try to follow all the styles defined by the stylesheet to see which one is causing the issue. It looks like it boils down to the -webkit-appearance set to none somewhere in the ionic.css…. But for some reason overriding it directly in my page as I show above is not resetting the value to “textfield” as it should be… Any idea why? How can I override the “none” with the “textfield”?

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值