bigcommerce / big-design

Design system that powers the BigCommerce ecosystem.
https://bigcommerce.github.io/big-design
Other
46 stars 63 forks source link

ButtonGroup hovers the first destructive button even if disabled #676

Closed samufort closed 2 years ago

samufort commented 2 years ago

Describe the bug Hi,

I have a button group with two destructive buttons hidden under the ellipsis. In some use cases, these buttons are both disabled. When this happens and the user opens the ellipsis, the first button hovers even if it's disabled.

To Reproduce Steps to reproduce the behavior:

  1. Create a button group with two disabled destructive buttons
  2. Click on the ellipsis
  3. See error

Expected behavior No hover on the first item

Screenshots 2022-01-17 10 53 20

Additional context Add any other context about the problem here.

chanceaclark commented 2 years ago

Hey @samufort, thanks for opening up this issue. This definitely seems like bug so I'll mark it as such.