Skip to content

Commit

Permalink
Update packages/react/src/NavList/NavList.tsx
Browse files Browse the repository at this point in the history
Co-authored-by: Josh Black <[email protected]>
  • Loading branch information
TylerJDev and joshblack authored Feb 21, 2025
1 parent 01d8ed2 commit c94d612
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/react/src/NavList/NavList.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -457,7 +457,7 @@ export const GroupExpand = React.forwardRef<HTMLButtonElement, NavListGroupExpan
...rest
} = itemArr
const {icon, label: actionLabel, ...actionProps} = trailingAction || {}
const focusTarget = index === focusTargetIndex ? groupId : 'false'
const focusTarget = index === focusTargetIndex ? groupId : undefined

if (index < amountToShow) {
if (renderItem) {
Expand Down

0 comments on commit c94d612

Please sign in to comment.