Skip to content
This repository has been archived by the owner on Aug 29, 2023. It is now read-only.

Commit

Permalink
fix(icons): disable pointer events on SVG(s).
Browse files Browse the repository at this point in the history
Disable pointer events prevents all click, state and cursor options on SVGs

Closes #2048.
  • Loading branch information
ThomasBurleson committed Apr 8, 2015
1 parent 600fa96 commit a7d9fa3
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/components/icon/icon.scss
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,10 @@ md-icon {
fill: currentcolor;
height: 3 * $baseline-grid;
width: 3 * $baseline-grid;

svg {
pointer-events: none;
}
}

//
Expand Down

0 comments on commit a7d9fa3

Please sign in to comment.