Skip to content

Component fixes - #825

Merged
timea-solid merged 3 commits into
SolidOS:stagingfrom
NoelDeMartin:fixes
Jul 2, 2026
Merged

timea-solid merged 3 commits into
SolidOS:stagingfrom
NoelDeMartin:fixes

Conversation

@NoelDeMartin

Copy link
Copy Markdown
Member

No description provided.

The previous implementation worked in Firefox, but not in Chrome. Apparently, the :host() selector does not include the light DOM when it's evaluated in Chrome, so the only way to implement this is to prepare it in JavaScript.
- Listen to mousedown instead of mouseup to select option (the previous implementation was hiding the options in dialogs because the dialog got focused during mousedown, triggering handleDocumentFocusIn).
- Reset filter when options are hidden, in order to improve the UX when the list is open again.
@NoelDeMartin
NoelDeMartin requested a review from timea-solid July 2, 2026 09:19
@timea-solid
timea-solid merged commit acdc053 into SolidOS:staging Jul 2, 2026
9 checks passed
@timea-solid timea-solid moved this from Done to Ready in SolidOS NLNet UI Jul 2, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

2 participants