Skip to content

Commit

Permalink
feat: primefaces#7073 Add missing focused context
Browse files Browse the repository at this point in the history
  • Loading branch information
gcko committed Sep 4, 2024
1 parent f398e9f commit e62f5fd
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion components/lib/dropdown/DropdownItem.js
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,8 @@ export const DropdownItem = React.memo((props) => {
return ptm(key, {
context: {
selected,
disabled
disabled,
focused: index === focusedOptionIndex
}
});
};
Expand Down

0 comments on commit e62f5fd

Please sign in to comment.