design-system
design-system copied to clipboard
Autocomplete: Lazy option loading
User requested feature from Autocomplete testing.
A lot of data is fetched from an api based on user input. A loading state for Autocomplete when options are loading based on user input would help with this use-case for our users.
Quick thoughts on this feature request:
- Loading state design?
- Is this even doable/good a11y wise with dynamic content?
- Disabled for user interaction component when "loading"?
- Error loading message goes where? Helpertext?
The package react-window-infinite-loader might be useful for this