nextui-org / nextui

🚀 Beautiful, fast and modern React UI library.
https://nextui.org
MIT License
21.94k stars 1.53k forks source link

[BUG] - Deprecated 'isVirtualized' Prop in Autocomplete Component #2150

Open hamzaydia opened 10 months ago

hamzaydia commented 10 months ago

NextUI Version

"@nextui-org/autocomplete": "^2.0.9"

Describe the bug

The Autocomplete component's documentation mentions support for virtualized scrolling for performance with long lists. However, the 'isVirtualized' prop in the AutocompleteItem component is marked as deprecated, creating confusion about the current support for virtualized scrolling.

Your Example Website or App

No response

Steps to Reproduce the Bug or Issue

  1. Visit the Autocomplete component documentation page.
  2. Observe the mentioned support for virtualized scrolling.
  3. Notice the 'isVirtualized' prop in the AutocompleteItem component is deprecated.

Expected behavior

Clarification in the documentation about the current status of virtualized scrolling support in the Autocomplete component. If the 'isVirtualized' prop is deprecated, an alternative method or updated prop should be clearly documented.

Screenshots or Videos

No response

Operating System Version

macOS

Browser

Chrome

saevarb commented 9 months ago

Can we get some input from the maintainers on this?

Autocomplete performs abysmally, even with a relatively few number of items (a few hundred). As far as I can tell, nextui is also built in many places such that it's not straight-forward to replace some of the components with your own, so my quick attempt at e.g. memoizing the AutocompleteItems was not successful either.

wangwailok commented 7 months ago

still facing the same issue in March 2024

SaidChihabi commented 6 months ago

pls fix :(

LPSebi commented 4 months ago

+1