Where developers come to connect, share, build and be inspired.

7

Reseting pointer-events on IE11

238 views

When you need to limit the mouse events on an element, you use the property pointer-events:

pointer-events: none;

If you need to restore the mouse events on one of its descendent elements, you gonna need:

pointer-events: auto;

Unfortunately, this isn't enough on IE11, the first of version to accept this property. So, set the value of property position to something different of its default value, static:

pointer-events: auto;
position: relative;

Comments

Add a comment