Skip to content Skip to sidebar Skip to footer

Ie 11 Pointer Events Override

I am trying to override the pointer-events property for a containing div. It works in everything so far except IE 11. Supposedly, the pointer-events property was added to IE 11. Fo

Solution 1:

For anyone that finds this - IE11 ignores the pointer-events property on inline items such as tags. Simply switch the display property to anything else for it to function correctly.

Solution 2:

I had the opposite problem in IE11, I was setting pointer-events: none on a parent element, but a link inside that element was still responding to clicks! As it turned out, a span inside the link had position: relative, which made it ignore the parent's pointer-events property.

Solution 3:

I believe this will fix your problem:

https://coderwall.com/p/s8pjpg/reseting-pointer-events-on-ie11

So, for your code:

.divstyle {
    pointer-events: none;
}
.buttonstyle {
    pointer-events: auto;
    position: relative;
}

Solution 4:

perfectly works using inline block .. display: inline-block;

even by class name works well

a.pa-description {
  pointer-events: none;
 cursor: default;
display: inline-block;
color: gray;
}

Post a Comment for "Ie 11 Pointer Events Override"