关闭Android 4.4 WebView组件上的Tap-Highlight-Color [英] Switch off Tap-Highlight-Color on Android 4.4 WebView component

查看:101
本文介绍了关闭Android 4.4 WebView组件上的Tap-Highlight-Color的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我们使用css属性-webkit-tap-highlight-color: rgba(0, 0, 0, 0);关闭WebView中触摸选择的边框.但这似乎不再适用于Android 4.4中的新Chromium WebView组件.有人知道如何在新的WebView组件中关闭水龙头突出显示颜色吗?

We use the css property -webkit-tap-highlight-color: rgba(0, 0, 0, 0); to switch off the border around a touch selection in the WebView. But this seems to no longer work with the new Chromium WebView component in Android 4.4. Anyone an idea how to switch off the tap highlight color in the new WebView component?

推荐答案

-webkit-tap-highlight-color: rgba(0, 0, 0, 0);
outline: 0;

尝试同时使用两者.

这篇关于关闭Android 4.4 WebView组件上的Tap-Highlight-Color的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆