Skip to content

Commit

Permalink
feat: #7073 Add missing focused context (#7107)
Browse files Browse the repository at this point in the history
  • Loading branch information
gcko authored Sep 4, 2024
1 parent 5840c12 commit c1f9153
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 c1f9153

Please sign in to comment.