Skip to content

Commit

Permalink
why is typescript having an issue?
Browse files Browse the repository at this point in the history
  • Loading branch information
mikeldking committed Jan 14, 2025
1 parent 98559aa commit 7c494e9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/listbox/ListBoxBase.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -144,7 +144,7 @@ function ListBoxBase<T>(
style={props.style}
{...mergeProps(listBoxProps, domProps)}
ref={ref}
focusedKey={state.selectionManager.focusedKey}
focusedKey={state.selectionManager.focusedKey || undefined}
sizeToFit="height"
scrollDirection="vertical"
className="ac-menu"
Expand Down

0 comments on commit 7c494e9

Please sign in to comment.