docs(react): update listbox docs demos - #349
Draft
Nitin (49-22) wants to merge 2 commits into
Draft
Conversation
Contributor
Contributor
|
Reopening: Nitin (@49-22) can you post a reproduction? I was unable to reproduce this. If the test reproduction is only possible with |
Author
|
Yes, it’s reproducible only when Listbox.content is not mounted initially yet how about keeping an example to ensure even an uninformed AI agent or dev can avoid wasting time in debugging it. |
Nitin (49-22)
force-pushed
the
fix/listbox-input-navigation
branch
from
August 27, 2026 08:48
dea9920 to
a7095cb
Compare
mounts Signed-off-by: Nitin <nitin.nagamalla@gmail.com>
Signed-off-by: Nitin <nitin.nagamalla@gmail.com>
Nitin (49-22)
force-pushed
the
fix/listbox-input-navigation
branch
from
August 27, 2026 08:56
a7095cb to
928c7f0
Compare
Author
|
Ryan Bower (@R-Bower) Updated the examples to ensure what I missed is not missed by anyone else. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.

Summary
className="max-h-64 overflow-y-auto".Listbox.Contentmounted while loading, empty, and loaded states render inside it.Context
Reviewer feedback clarified that
Listbox.Contentis expected to always remain mounted, even when no options are available. This PR no longer changes core Listbox keyboard behavior for an initially unmounted content case. Instead, it documents the intended async-data pattern in the React docs.Testing