Skip to content

[material-ui][ButtonGroup] Disabled styles should be improved #35045

Open
@vmilan

Description

@vmilan

Duplicates

  • I have searched the existing issues

Latest version

  • I have tested the latest version

Summary 💡

Expected Behavior

The border color in outlined ButtonGroup should remain the original color when a button is disabled. Example:

Screenshot 2022-11-08 at 13 29 48

Current Behavior

The actual styles for ButtonGroup when a button is disabled, look like this:

Screenshot 2022-11-08 at 13 21 56

The border color doesn't seem correct, it doesn't feel like a group of buttons.

Steps to Reproduce

Link: https://codesandbox.io/s/buttongroup-disabled-oj1ufn

  • Create an outlined button group
  • Disable one of the buttons

Enviroment

  • mui: 5.10.10
  • react: 17.0.1

Examples 🌈

Screenshot 2022-11-08 at 13 29 48

Motivation 🔦

The border color doesn't seem correct, it doesn't feel like a group of buttons.

Metadata

Metadata

Assignees

No one assigned

    Labels

    component: ButtonGroupThe React component.design: materialThis is about Material Design, please involve a visual or UX designer in the process

    Projects

    Status

    No status

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions