Skip to content

Commit

Permalink
Fix primefaces#4662: SVG icons allow click event to pass through
Browse files Browse the repository at this point in the history
  • Loading branch information
melloware committed Jul 18, 2023
1 parent 793daf5 commit 741ba41
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions components/lib/iconbase/IconBase.css
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,14 @@
animation: p-icon-spin 2s infinite linear;
}

svg.p-icon {
pointer-events: auto;
}

svg.p-icon g {
pointer-events: none;
}

@-webkit-keyframes p-icon-spin {
0% {
-webkit-transform: rotate(0deg);
Expand Down

0 comments on commit 741ba41

Please sign in to comment.