Skip to content

Dropdown menu inside payments component is too narrow for localized text (German) #246

@Dari4sho

Description

@Dari4sho

Summary:

When using the Stripe Connect Embedded Components (via @stripe/connect-js), some dropdowns or filter popovers inside the iframe have a fixed width of 200px. In localized interfaces - particularly in German - the labels are too long for that and can overflow awkwardly.

Example:

In the payments component, the “Status” filter dropdown shows options like
"Betrugsfrühwarnsystem"
which do not fit within the current dropdown width.

Image

Expected behavior:

The dropdown should either

  • automatically resize based on content length (width: max-content;)
Image
  • wrap text properly - e.g. with lang="de" on the html element + hyphens: auto on the filter container
Image
  • embed a ­ at the correct place for long words
Image

Ideally, the component would provide a way to configure or theme the dropdown width through the appearance object or similar.

Actual behavior:

  • Dropdown width is fixed (200px).
  • Text overflows when using longer localized strings.
  • The appearance API (including overlays: 'drawer') has no effect on this element.

Environment:

Library: @stripe/[email protected]
Locale: de (German)
Browser: Chrome v141.0.7390.67
Integration type: React

Request:

Please make the dropdown/popover width responsive to content length or expose a configurable width via the appearance API, especially for localized (non-English) text.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions