kmewhort / pointer_events_polyfill

Polyfill to provide support for "pointer-events: none".
Other
274 stars 76 forks source link

Doesn't Work with IE8 #16

Closed JonesXavi closed 6 years ago

JonesXavi commented 9 years ago

This does not work in IE 8. I made all the anchor tags to pointer-events:none; It supports IE 9 though. But I need for IE 8. Please check this out.

entozoon commented 9 years ago

Hi, I've forked this repository and added IE8 support - https://github.com/entozoon/pointer_events_polyfill

Use this updated js, and also add a data-pointer-events-none attribute to your element. e.g.

<div data-pointer-events-none></div>
cvrebert commented 9 years ago

Duplicate of #2.

yolo2013 commented 9 years ago

@entozoon Hi, your update makes it work fine on IE8 just click、mousedown event. But Have you think this need a mouseover or hove?

entozoon commented 9 years ago

@yolo2013 In those situations you might be better to override for IE8 elsewhere, such as with a CSS hack or detect the browser with a javascript library.