Skip to content

Commit

Permalink
Merge branch 'main' into 17001-dropdown-fix
Browse files Browse the repository at this point in the history
  • Loading branch information
tay1orjones committed Jul 19, 2024
2 parents 040ed1f + b4a89ef commit 63ea762
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions packages/react/src/components/Menu/Menu.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -237,6 +237,7 @@ const Menu = forwardRef<HTMLUListElement, MenuProps>(function Menu(
}

function focusItem(e?: React.KeyboardEvent<HTMLUListElement>) {
e?.preventDefault();
const currentItem = focusableItems.findIndex((item) =>
item.ref?.current?.contains(document.activeElement)
);
Expand Down

0 comments on commit 63ea762

Please sign in to comment.