Skip to content

Commit

Permalink
fix: primefaces#7437, TabView: Unable to select closable icon of tabs…
Browse files Browse the repository at this point in the history
… through keyboard
  • Loading branch information
ANTONA09 committed Nov 20, 2024
1 parent f73f795 commit 98cc740
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions components/lib/tabview/TabView.js
Original file line number Diff line number Diff line change
Expand Up @@ -362,8 +362,8 @@ export const TabView = React.forwardRef((inProps, ref) => {
{
className: cx('tab.closeIcon'),
onClick: (e) => onTabHeaderClose(e, index),
tabIndex: 0,
onKeyDown: (e) => onCloseIconKeyDown(e, index)
onKeyDown: (e) => onCloseIconKeyDown(e, index),
tabIndex: 0
},
getTabPT(tab, 'closeIcon', index)
);
Expand Down

0 comments on commit 98cc740

Please sign in to comment.