且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

有一种解决方法用于CSS位,可点击区域的Andr​​oid浏览器漏洞?

更新时间:2023-11-26 18:51:16

这是一个快速蒙着眼睛的答复,所以让我知道我是否应该扩大/进一步修复它。总的想法是一个CSS类为悬停和重点禁用指针的互动活动。

This is a quick blindfolded reply, so let me know if I should expand/fix it further. The general idea being a CSS class for both the hover and focus events that disables pointer interaction.

yourElementClass:focus, yourElementClass:hover {
    pointer-events: none;
}