小约今天遇到了一个问题:vue构建的html项目在safari和iOS微信下点击input失效!
经过一番排查是因为小约在项目里加入了这段代码:
*{
-webkit-tap-highlight-color: transparent;
-webkit-touch-callout: none;
-webkit-user-select: none;
user-select:none;
}
可以将 -webkit-user-select:none; 改为-webkit-user-select:auto 进行修正。