Skip to content

Commit

Permalink
Fix #7109: SplitterPanel pass onClick through (#7114)
Browse files Browse the repository at this point in the history
  • Loading branch information
melloware authored Sep 4, 2024
1 parent c1f9153 commit 0a4eee5
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion components/lib/splitter/Splitter.js
Original file line number Diff line number Diff line change
Expand Up @@ -449,7 +449,8 @@ export const Splitter = React.memo(
className: panelClassName,
style: { ...getPanelProp(panel, 'style'), flexBasis },
role: 'presentation',
'data-p-splitter-panel-nested': false
'data-p-splitter-panel-nested': false,
onClick: getPanelProp(panel, 'onClick')
},
getPanelPT('splitterpanel.root')
);
Expand Down

0 comments on commit 0a4eee5

Please sign in to comment.