Skip to content
This repository was archived by the owner on Jun 28, 2026. It is now read-only.
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion components/lib/button/Button.js
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,8 @@ export const Button = React.memo(

const iconsProps = mergeProps(
{
className: cx('icon')
className: cx('icon'),
style: { pointerEvents: 'none' }
},
ptm('icon')
);
Expand Down
2 changes: 2 additions & 0 deletions components/lib/card/__snapshots__/Card.spec.js.snap
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,7 @@ exports[`Card advanced 1`] = `
<span
class="p-button-icon p-c p-button-icon-left pi pi-check"
data-pc-section="icon"
style="pointer-events: none;"
/>
<span
class="p-button-label p-c"
Expand All @@ -73,6 +74,7 @@ exports[`Card advanced 1`] = `
<span
class="p-button-icon p-c p-button-icon-left pi pi-times"
data-pc-section="icon"
style="pointer-events: none;"
/>
<span
class="p-button-label p-c"
Expand Down
Loading