design-system icon indicating copy to clipboard operation
design-system copied to clipboard

Autocomplete: Lazy option loading

Open mimarz opened this issue 4 years ago • 1 comments

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?

mimarz avatar Mar 24 '22 07:03 mimarz

The package react-window-infinite-loader might be useful for this

mimarz avatar Oct 11 '22 07:10 mimarz