Skip to content

Latest commit

 

History

History
16 lines (11 loc) · 425 Bytes

File metadata and controls

16 lines (11 loc) · 425 Bytes

Disable Element Clicks

Use the point-events property on an element to disable their pointer events, that also include click events. This is useful if an element is hidden but still placed in the DOM.

button {
  pointer-events: none;
}

Refs