You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When using the Autocomplete component from @nextui-org/react with a large user list (e.g., 80+ items), an error is thrown: Uncaught TypeError: Cannot read properties of undefined (reading 'props').
This issue occurs during the rendering of AutocompleteItem components.
NextUI Version
2.6.8
Describe the bug
When using the
Autocomplete
component from@nextui-org/react
with a large user list (e.g., 80+ items), an error is thrown:Uncaught TypeError: Cannot read properties of undefined (reading 'props')
.This issue occurs during the rendering of
AutocompleteItem
components.Your Example Website or App
https://codesandbox.io/p/devbox/nostalgic-mccarthy-g9fsxd
Steps to Reproduce the Bug or Issue
Autocomplete
,AutocompleteSection
,AutocompleteItem
, andAvatar
components from@nextui-org/react
.id
,name
,email
, andavatar
.Autocomplete
component with multipleAutocompleteSection
elements, each containingAutocompleteItem
components generated usingusers.map()
.Autocomplete
dropdown.Expected behavior
The
Autocomplete
component should render all items without throwing errors and allow smooth scrolling through large lists.Screenshots or Videos
No response
Operating System Version
Windows
Browser
Chrome
The text was updated successfully, but these errors were encountered: