adobe / adobe/react-spectrum

[useComboBox] Async Loading example unexpected behavior

Open
#3,392 3 comments 2 reactions 0 assignees View on GitHub
Dominant language
TypeScript
Stars
15.9k
Forks
1.6k
Avg merge
3d 9m
Merged PRs (30d)
59

Description

# 🐛 Bug Report

Steps to reproduce:

1. Load sandbox link
2. type in "jarr"
3. Observe expected no options in list
4. press backspace once, query is "jar"
5. No results appear, though I would expect "Jar Jar Binks" to show up.

## 🤔 Expected Behavior

"Jar Jar Binks" to show up like when typing "jar"

image

## 😯 Current Behavior

I was expecting "Jar Jar Binks" to show up. It could also be my own error and I'm not understanding the expected autocomplete behavior just figured it was worth filing.

image

## 🔦 Context

Just testing out the behavior of the code samples while evaluating the library for use.

## 💻 Code Sample
https://codesandbox.io/s/dreamy-burnell-3i2jy?file=/src/App.tsx

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.