You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
pointer-events are supported in IE 11, so you shouldn't need to add this polyfill for that browser version. Here's the supported browsers: http://caniuse.com/pointer-events
If you want to feature detect with Modernizr, you can add this detector:
Modernizr.addTest('pointerevents',function(){
return 'pointerEvents' in document.documentElement.style;
})
I actually had an issue with IE 11 and using pointer-events:none; I believe it was because I was referencing a select tag. As a getaround I passed in the uePolyfillif function to force all IE use. This worked for me i.e.
PointerEventsPolyfill.initialize({
usePolyfillIf:function(){
var ua = window.navigator.userAgent;
var old_ie = ua.indexOf('MSIE ');
var new_ie = ua.indexOf('Trident/');
if ((old_ie > -1) || (new_ie > -1)) {
return true;}
else {
return false;}
}
});
HOWEVER, there is still an issue with it not working for IE8 (not sure if that's due to the select tags as well or a known bug).
hi!
what i did as you described:
do i miss something?
thank you!
regards
strmiska
The text was updated successfully, but these errors were encountered: