“pointer-events: none” does not work in IE9 and IE10

前端 未结 3 833
死守一世寂寞
死守一世寂寞 2020-11-28 09:54

The CSS - property pointer-events: none; works fine in Firefox, but it does not in Internet Explorer 9-10.

Is there a way to achieve the same behaviour

3条回答
  •  醉梦人生
    2020-11-28 10:20

    From looking at the APIs, I don't think Rich Harris' Points.js, nor Hands.js, provide support for pointer-events: none.

    Thus, I just implemented a tiny script to polyfill this feature:

    • Pointer Events Polyfill.

提交回复
热议问题