Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[BUG] - Error using isVirtualized prop in Select Component with VirtualizedListbox #4403

Closed
TheFabi8A opened this issue Dec 19, 2024 · 3 comments · Fixed by #4462
Closed
Assignees
Labels
🐛 Type: Bug Something isn't working

Comments

@TheFabi8A
Copy link

TheFabi8A commented Dec 19, 2024

NextUI Version

2.6.8

Describe the bug

When using the isVirtualized prop in the Select component, the VirtualizedListbox fails to access the properties of the selectors, resulting in the following error

image

Your Example Website or App

https://stackblitz.com/edit/vitejs-vite-ttgk5xfz?file=src%2FSelectAvatarDecoration.tsx

Steps to Reproduce the Bug or Issue

  1. Use the Select component with the isVirtualized prop enabled (isVirtualized={true})
  2. Attempt to interact with the component
  3. Observe the error in the console

Expected behavior

The Select component should work correctly with the isVirtualized property enabled, without throwing any errors and displaying the elements.

Screenshots or Videos

2024-12-19.05-06-48.mp4

Operating System Version

Windows

Browser

Chrome

Copy link

linear bot commented Dec 19, 2024

@TheFabi8A TheFabi8A changed the title [BUG] - Error using isVirtualized prop in <Select /> with VirtualizedListbox [BUG] - Error using isVirtualized prop in Select Component with VirtualizedListbox Dec 19, 2024
@vinroger
Copy link
Contributor

Thank you for reporting the issue. I am taking a look at this!

@jrgarciadev jrgarciadev added the 🐛 Type: Bug Something isn't working label Dec 19, 2024 — with Linear
@uigywnkiub
Copy link

+1

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🐛 Type: Bug Something isn't working
Projects
None yet
4 participants