Skip to content

Commit

Permalink
Fix primefaces#5074: Prevent rowExpander from clicking row (primeface…
Browse files Browse the repository at this point in the history
  • Loading branch information
melloware authored Oct 10, 2023
1 parent d56297c commit 9dd4f79
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion components/layout/topbar.js
Original file line number Diff line number Diff line change
Expand Up @@ -138,7 +138,7 @@ export default function Topbar(props) {
</li>
<li>
<button type="button" className="p-button flex border-1 w-2rem h-2rem p-0 align-items-center justify-content-center transition-all transition-duration-300 min-w-0" onClick={onConfigButtonClick}>
<i class="pi pi-palette"></i>
<i className="pi pi-palette"></i>
</button>
</li>

Expand Down
1 change: 1 addition & 0 deletions components/lib/datatable/BodyCell.js
Original file line number Diff line number Diff line change
Expand Up @@ -483,6 +483,7 @@ export const BodyCell = React.memo((props) => {
});

event.preventDefault();
event.stopPropagation();
};

const onRowEditInit = (event) => {
Expand Down

0 comments on commit 9dd4f79

Please sign in to comment.