Optimizing native hit testing of DOM elements (Chrome)

Interesting, that pointer-events: none has no effect. But if you think about it, it makes sense, since elements with that flag set still obscure other elements’ pointer events, so the hittest has to take place anyways. What you can do is put a overlay over critical content and respond to mouse-events on that overlay, let … Read more