-
Notifications
You must be signed in to change notification settings - Fork 601
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
feat: add functionality for enabling Virtualized Listbox #6814
Comments
Thanks for this issue @Ogglas, FWIW, I do agree that thousands of items in a listbox would be quite a lot to navigate through :). With regard to virtualization, I think my personal preference to start would be to look and see if a directive could help solve this. A directive for virtualization would essentially allow it to port anywhere and to any component necessary (whether FAST foundation or something unrelated). I'm hesitant to duplicate the virtualization logic in each potential component because it kind of hoists the requirement to all implementors. @vnbaaij Are you able to use directives in the Blazor implementation? |
@chrisdholt not sure. If you have a stackblitz with an example of how that would look with Javascript, I can take a look on how/if I can translate it to Blazor |
I don't have one but it would be akin to using |
No experience with both of those either... |
@chrisdholt @vnbaaij Any way forward on this? |
Not from my side... |
So, I landed here from the FluentUI Blazor repo and am a bit confused. fyi: The link in the ListBox docs points to https://www.w3.org/TR/wai-aria-practices-1.2/#Listbox which is outdated. |
Looks like this issue should be filed with Fluent UI. |
@Ogglas sorry I should have been more clear, we are deprecated the This issue should be filed with Fluent UI, unless we want to add a new directive for virtualization to |
🙋 Feature Request
I originally opened an issue for Virtualize Listbox in fluentui-blazor here: microsoft/fluentui-blazor#460 (comment).
Virtualization works really well for Data grid with large data sets in fluentui-blazor. Given that Listbox can sometimes contain large data sets I think it would be really good here as well. For fluentui-blazor this could also mean that Search with debounce would only be needed for API calls.
https://www.fluentui-blazor.net/Search#interactive-with-debounce
Could be an alternative for this fix in fluentui-blazor:
microsoft/fluentui-blazor#389
This could however not be done in fluentui-blazor since “we cannot interject into the rendering of the listbox”. Is it possible to add this functionality?
The text was updated successfully, but these errors were encountered: