Skip to content

Text of disabled Select option appears clickable #378

@meesfrensel

Description

@meesfrensel

The text inside a Select's option is always cursor-pointer, even when disabled:

class="flex cursor-pointer items-center justify-center gap-2 text-sm font-medium whitespace-nowrap transition-colors"

Even when the class of the parent is adjusted:

disabled ? 'cursor-not-allowed' : 'cursor-pointer',

I think the fix is very obvious, but I'm not 100% sure so I'll leave it up to you.

See below:

Image Image

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