vmware-clarity / core

Clarity is a scalable, accessible, customizable, open-source design system built with web components. Works with any JavaScript framework, created for enterprises, and designed to be inclusive.
https://clarity.design
MIT License
163 stars 42 forks source link

When CdsTag has both `color` and `disabled` hover functionality still works. #134

Closed kdavidenkovmware closed 2 years ago

kdavidenkovmware commented 2 years ago

Describe the bug

When CdsTag has both color and disabled hover functionality still works.

How to reproduce

https://codesandbox.io/s/cdstag-disabled-bug-eg2udj?file=/src/index.js

Steps to reproduce the behavior:

  1. create a CdsTag with both color and disabled props.
  2. hover over the rendered tag.

Expected behavior

When the tag is disabled, hovering behavior from color shouldn't function

Versions

Clarity project:

Clarity version:

Framework:

Framework version: React >=16.8.0

Device:

github-actions[bot] commented 2 years ago

:tada: This issue has been resolved in version 5.8.1 :tada:

The release is available on:

Your semantic-release bot :package::rocket:

github-actions[bot] commented 2 years ago

:tada: This issue has been resolved in version 6.1.1 :tada:

The release is available on:

Your semantic-release bot :package::rocket:

github-actions[bot] commented 2 years ago

Hi there 👋, this is an automated message. To help Clarity keep track of discussions, we automatically lock closed issues after 14 days. Please look for another open issue or open a new issue with updated details and reference this one as necessary.