ListBox options have poor visibility on dark backgrounds
Les mainteneurs répondent en général sous 1 jour
@erroreater-v y travaille déjà.
Depuis le 30/11/2026.
Évaluation
- Difficulté
- 1/5
- Temps estimé
- 1-3 heures
- Accessibilité débutants
- 45/100
- Type d'issue
- Bug
- Clarté
- Clairement spécifiée
- Activité
- Active
- Stack technique
- javascript, react
- Domaine
- frontend
Piste de recherche
Start with ListBox.styles.js and inspect the main ListBox container style and its theme values. Reproduce the issue in the MultiSelect Storybook story with a dark canvas, then verify that all options remain readable when the dropdown is open and the cursor is away. The issue says a local fix has already been implemented; check the thread before starting to see whether work is underway.
Rédigé par le modèle d'indexation à partir du texte de l'issue.
Description
Description
The ListBox component lacks a solid default background. When displayed over a dark background, non-highlighted options become difficult to read. Hovering over an option temporarily improves its visibility.
Steps to reproduce
-
Open the MultiSelect component in the UI Elements Storybook.
-
Change the Storybook canvas background to dark.
-
Open the dropdown.
-
Move the cursor away from the options.
Expected behavior
All dropdown options should remain clearly readable regardless of the surrounding background or hover state.
Actual behavior
Non-highlighted options have a transparent background, resulting in poor text visibility on dark backgrounds.
Root cause
The main style in ListBox.styles.js does not define a background color.
Proposed solution
Add a theme-based background color using theme.colors.background to the ListBox container instead of hardcoding a color.
Testing
The proposed fix was tested locally using Storybook on Windows, and the dropdown options were visibly more readable
SCREENSHOTS
before->
after->
Additional information
I have implemented a proposed fix locally and would like to contribute it if approved by the maintainers.
I reproduced the issue and tested the proposed fix locally using Storybook, with AI assistance during debugging and implementation.
- Langage dominant
- JavaScript
- Étoiles
- 171
- Forks
- 421
- Merge moyen
- 3 j 6 h
- PR mergées (30 j)
- 4
Préparer son environnement
- Aucun Dockerfile ni fichier Docker Compose
- Propose un modèle de pull request
- Aucun guide de contribution
Par où commencer
- Lisez l'issue en entier, puis le guide de contribution du projet.
- Signalez en commentaire que vous la prenez — cela évite que deux personnes fassent le même travail.
- Forkez le dépôt et travaillez sur une branche.
- Ouvrez une pull request qui référence le numéro de l'issue.
Autres issues de RocketChat/EmbeddedChat
-
Bug: username fallback in updateUserUsername never runs since the ddp-client migrationPeut-être pris @MuhammadFaizan-prog l’a pris aujourd’hui. Ouverte
Difficulté 2/5 1-3 heures Accessibilité débutants 78/100
RocketChat/EmbeddedChat#1489 ·
Les mainteneurs répondent en général sous 1 jour
-
[Bug]: Low contrast on color swatch borders in Theme Lab (Layout Editor)Peut-être pris @yashsarvaiya45 l’a pris aujourd’hui. Ouvertebug
Difficulté 2/5 1-3 heures Accessibilité débutants 79/100
RocketChat/EmbeddedChat#1486 ·
Les mainteneurs répondent en général sous 1 jour
-
bug(api): _doConnect swallows connection/auth errors and marks failed sessions as authenticatedPeut-être pris @ashwanisingh011 l’a pris il y a 1 jour. Ouvertebug
Difficulté 2/5 1-3 heures Accessibilité débutants 76/100
RocketChat/EmbeddedChat#1484 ·
Les mainteneurs répondent en général sous 1 jour
-
Bug: White screen crash (`Cannot read properties of undefined (reading 'members')`) when rendering UserMention outside MarkupInteractionContextPeut-être pris @swarnendusahu10-dotcom l’a pris il y a 2 jours. Ouverte
Difficulté 2/5 1-3 heures Accessibilité débutants 72/100
RocketChat/EmbeddedChat#1482 ·
Les mainteneurs répondent en général sous 1 jour
-
Bug: UIKit PreviewBlock cover image tiles repeatedly and stretches across viewport when zoomed outPeut-être pris @swarnendusahu10-dotcom l’a pris il y a 3 jours. Ouverte
Difficulté 2/5 1-3 heures Accessibilité débutants 82/100
RocketChat/EmbeddedChat#1480 · 1 commentaire ·
Les mainteneurs répondent en général sous 1 jour
Toutes les issues de RocketChat/EmbeddedChat
Issues similaires
-
Difficulté 2/5 1-3 heures Accessibilité débutants 76/100
Life-Framework/Life-Framework#7017 ·
Les mainteneurs répondent en général sous 1 jour
-
e/DevOps enhancement
Difficulté 2/5 1-3 heures Accessibilité débutants 86/100
Accenture/sfmc-devtools#2795 ·
Les mainteneurs répondent en général sous 1 jour
-
agent/guide documentation help wanted stage/010-actionable
Difficulté 2/5 1-3 heures Accessibilité débutants 82/100
kubestellar/console-kb#4003 · 1 commentaire ·
Les mainteneurs répondent en général sous 1 jour
-
Difficulté 2/5 1-3 heures Accessibilité débutants 72/100
-
Difficulté 2/5 1-3 heures Accessibilité débutants 78/100
FilOzone/synapse-sdk#1201 · 1 commentaire ·
Les mainteneurs répondent en général sous 1 jour