Skip to content

[material-ui][Snackbar] Disabled button are hard to read #38595

@Janpot

Description

@Janpot

Duplicates

  • I have searched the existing issues

Latest version

  • I have tested the latest version

Steps to reproduce 🕹

Link to live example: https://codesandbox.io/s/lively-voice-vvlghg?file=/Demo.tsx

Steps:

  1. Open the example
  2. Observe the disabled buttons in the snackbar
  3. Use the theme switcher to see the issue in light and dark mode

Current behavior 😯

Buttons are very hard to read. I've added disabled buttons in a theme of the opposite mode for comparison.

Screenshot 2023-08-22 at 11 24 06

In dark mode the button even disappears

Screenshot 2023-08-22 at 11 23 56

Expected behavior 🤔

Disabled buttons are readable in a snackbar

Context 🔦

Ran into this while adding a loading button in the Snackbar

Your environment 🌎

https://codesandbox.io/s/lively-voice-vvlghg?file=/Demo.tsx

Metadata

Metadata

Assignees

No one assigned

    Labels

    designThis is about UI or UX design, please involve a designer.scope: toastChanges related to the toast.type: bugIt doesn't behave as expected.

    Projects

    Status

    No status

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions