adobe / react-spectrum

A collection of libraries and tools that help you build adaptive, accessible, and robust user experiences.
https://react-spectrum.adobe.com
Apache License 2.0
12.54k stars 1.08k forks source link

Is there any document available that guides how to use the `Virtualizer` component? #6751

Open qmhc opened 1 month ago

qmhc commented 1 month ago

๐Ÿ™‹ Documentation Request

I used useListBox to implement a ListBox component but it doesn't support virtualized list.

I noted that the ListBox component from Spectrum supports this feature and a Virtualizer component is used inside it. But I can't find any guide about the Virtualizer component in https://react-spectrum.adobe.com/.

It's better to provide a document to guide how to use the Virtualizer combine with other hooks.

I'm sorry if I missed any document about this.

๐Ÿงข Your Company/Team

No response

devongovett commented 1 month ago

Not yet, but we'll be working on docs soon.

Emiliano-Bucci commented 1 month ago

@devongovett But can be used or is not ready yet? I'm trying to use the ListBox with Tanstack Virtualizer and it just don't work :/