Skip to content

[Select/SelectMenu/InputMenu] Select content overflows for small trigger widths #3920

@hanneskuettner

Description

@hanneskuettner

Environment

N/A

Is this bug related to Nuxt or Vue?

Nuxt

Version

v3.0.2

Reproduction

https://ui.nuxt.com/components/select-menu#color

Description

I'm not 100% sure if this is considered a bug or intended behavior, but the select-like components limit the content width to the trigger width, which causes content values longer than the currently selected value to truncate. See video attached of this behavior on the docs site.

CleanShot.2025-04-17.at.11.15.34.mp4

If we consider this to be a bug I am happy to shoot a quick PR that fixes this by adding a min-w-fit to the content slots.

Additional context

No response

Logs

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingv3#1289

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions