ListBox options have poor visibility on dark backgrounds
Mantenedores costumam responder em até 1 dia
@erroreater-v já está trabalhando nisso.
Desde 30/11/2026.
Avaliação
- Dificuldade
- 1/5
- Tempo estimado
- 1-3 horas
- Facilidade para iniciantes
- 45/100
- Tipo de issue
- Bug
- Clareza
- Claramente especificada
- Status de atividade
- Ativa
- Stack de tecnologia
- javascript, react
- Domínio
- frontend
Direção de pesquisa
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.
Escrita pelo modelo de indexação a partir do texto da issue.
Descrição
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.
- Linguagem predominante
- JavaScript
- Estrelas
- 171
- Forks
- 421
- Merge médio
- 3d 6h
- PRs com merge (30d)
- 4
Preparar o ambiente
- Sem Dockerfile nem arquivo Docker Compose
- Tem um modelo de pull request
- Sem guia de contribuição
Primeiros passos
- Leia a issue inteira e depois o guia de contribuição do projeto.
- Comente na issue dizendo que vai assumir — evita que duas pessoas façam o mesmo trabalho.
- Faça um fork do repositório e trabalhe em uma branch.
- Abra um pull request que referencie o número da issue.
Mais de RocketChat/EmbeddedChat
-
Bug: username fallback in updateUserUsername never runs since the ddp-client migrationTalvez já em andamento @MuhammadFaizan-prog assumiu hoje. Aberta
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 78/100
RocketChat/EmbeddedChat#1489 ·
Mantenedores costumam responder em até 1 dia
-
[Bug]: Low contrast on color swatch borders in Theme Lab (Layout Editor)Talvez já em andamento @yashsarvaiya45 assumiu hoje. Abertabug
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 79/100
RocketChat/EmbeddedChat#1486 ·
Mantenedores costumam responder em até 1 dia
-
bug(api): _doConnect swallows connection/auth errors and marks failed sessions as authenticatedTalvez já em andamento @ashwanisingh011 assumiu há 1 dia. Abertabug
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 76/100
RocketChat/EmbeddedChat#1484 ·
Mantenedores costumam responder em até 1 dia
-
Bug: White screen crash (`Cannot read properties of undefined (reading 'members')`) when rendering UserMention outside MarkupInteractionContextTalvez já em andamento @swarnendusahu10-dotcom assumiu há 2 dias. Aberta
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 72/100
RocketChat/EmbeddedChat#1482 ·
Mantenedores costumam responder em até 1 dia
-
Bug: UIKit PreviewBlock cover image tiles repeatedly and stretches across viewport when zoomed outTalvez já em andamento @swarnendusahu10-dotcom assumiu há 3 dias. Aberta
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 82/100
RocketChat/EmbeddedChat#1480 · 1 comentário ·
Mantenedores costumam responder em até 1 dia
Todas as issues de RocketChat/EmbeddedChat
Issues semelhantes
-
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 76/100
Life-Framework/Life-Framework#7017 ·
Mantenedores costumam responder em até 1 dia
-
e/DevOps enhancement
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 86/100
Accenture/sfmc-devtools#2795 ·
Mantenedores costumam responder em até 1 dia
-
agent/guide documentation help wanted stage/010-actionable
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 82/100
kubestellar/console-kb#4003 · 1 comentário ·
Mantenedores costumam responder em até 1 dia
-
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 72/100
-
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 78/100
FilOzone/synapse-sdk#1201 · 1 comentário ·
Mantenedores costumam responder em até 1 dia