Skip to content

TextFields with trailing text and closing icon are overlapping #3298

@HDinger

Description

@HDinger

Steps to reproduce

  • Create a TextField with trailing text and closing icon activated
render(Primer::Alpha::TextField.new(name: "my-text-field",
                                    label: "My text field",
                                    show_clear_button: true,
                                    trailing_visual: { text: { text: "days" } }))

Actual behavior

  • The closing icon overlaps the traling text
Image

Expected

  • The text and the icon should be next to each other

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions