Skip to content

[bug]: Disabled focus state of Select and Combobox is inconsistent #1330

Closed
@gu-stav

Description

@gu-stav

What version of strapi-design-system are you using?

  • Design-System: 1.10.0

What's Wrong?

The focus state of a disabled Select and Combobox is inconsistent. While Select does not display the focus outline (which imo is the proper behavior) the Combobox does:

Kapture.2023-09-06.at.08.44.47.mp4

To Reproduce

  1. Use Select and Combobox next to each other
  2. Add disabled=true to both
  3. Focus both fields

Expected Behaviour

I expect Combobox to not receive any events nor display a visible focus state. It could also be discussed which cursor to display in this case, because it is inconsistent too.

Metadata

Metadata

Assignees

No one assigned

    Labels

    issue: bugIssue reporting a bugseverity: lowIf the issue only affects a very niche base of users and an easily implemented workaround can solvesource: design-systemrelates to design-system packagestatus: confirmedConfirmed by a Strapi Team member or multiple community members

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions