Reopen combobox on input mousedown after selection.

Selecting an option closes the list without blurring the input, so a later
click never fires focus. Open the panel on mousedown as well.

Co-authored-by: Diaco Soltanpour <s-diaco@users.noreply.github.com>
This commit is contained in:
Cursor Agent
2026-08-15 08:42:50 +00:00
parent 31cd1783a1
commit 9121200bfa
2 changed files with 4 additions and 0 deletions

View File

@@ -33,6 +33,7 @@ def test_ui_asset_exists_and_has_required_bridge_content():
"api.create(",
"finally",
'inputEl.value = selectEl.value || ""',
'inputEl.addEventListener("mousedown"',
):
assert expected in content