fluentui icon indicating copy to clipboard operation
fluentui copied to clipboard

Combobox with scroll event or pagination

Open abhigts1 opened this issue 1 year ago • 2 comments

I have an API which will return me a list of objects in batches of size 25. My Database has 1000+ records but I want to fetch only 25 at a time and fetch the next set as we scroll in the combobox.

I have tried to implement this using scroll events but it looks like combobox does not expose it. I would like to know if there is a way to implement this.

My dropdown must also support search functionality and hence a combobox is a must.

abhigts1 avatar Feb 07 '24 04:02 abhigts1

I also have this requirement. I'm currently trying to implement this with react-window-infinite-loader and react-window libraries. its not gone smoothly and i still have issues with keyboard navigation of results so currently its looking like being shelved.

Ive just started a discussion around the issue im having. best of luck. https://github.com/microsoft/fluentui/discussions/32187

daric81 avatar Aug 01 '24 11:08 daric81

I also have this requirement. I am trying to use "onScrollToItem" property from FluentUI on ComboBox. But I am not able to do so, the scroll event is not triggering this property. Have anyone tried using this property?

MJaithra avatar Aug 23 '24 08:08 MJaithra

This issue has not had activity for over 180 days! We're adding Soft close label and will close it soon for house-keeping purposes. Still require assistance? Please add comment - "keep open".

This issue has not had activity for over 180 days! We're adding Soft close label and will close it soon for house-keeping purposes. Still require assistance? Please add comment - "keep open".