Skip to content

Dropdown's background being transparent leads to poor text contrast #11916

@twenty-eng-sync

Description

@twenty-eng-sync

Description

Generated from note: Reproduction

Dropdowns are often displayed on top of black elements in dark mode. The contrast is good in these cases.

However, dropdowns can sometimes be displayed on top of light elements, even in dark mode. This can happen when editing a note and uploading a white image or video.

Ensuring good contrast for text displayed on top of an uncontrolled background is really hard, and I bet that's why many apps use solid backgrounds for dropdowns.

Dark mode

CleanShot.2025-05-07.at.11.39.47.mp4

Light mode

Image

Found in a bug reported by Paul: #11900 (comment)

Created by:

Metadata

Metadata

Assignees

No one assigned

    Type

    Projects

    Status

    🔖 Planned

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions