We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 2dbbc66 commit b7a9325Copy full SHA for b7a9325
1 file changed
components/lib/menubar/Menubar.js
@@ -559,7 +559,7 @@ export const Menubar = React.memo(
559
560
useUpdateEffect(() => {
561
if (focusTrigger) {
562
- const itemIndex = focusedItemInfo.index !== -1 ? findNextItemIndex(focusedItemInfo.index) : reverseTrigger.current ? findLastItemIndex() : findFirstFocusedItemIndex();
+ const itemIndex = focusedItemInfo.index !== -1 ? findNextItemIndex(focusedItemInfo.index) : reverseTrigger.current ? findLastItemIndex() : findFirstItemIndex();
563
564
changeFocusedItemIndex(itemIndex);
565
reverseTrigger.current = false;
0 commit comments