Skip to content

[Bug]: WC Checkbox regression on checked state #19563

@devadula-nandan

Description

@devadula-nandan

Package

@carbon/web-components

Browser

Chrome

Package version

v2.30.0

React version

No response

Description

the checkbox doesn't seem to update its visual appearance based on checked state, which used to happen in version 2.27.1.
as per the comment
carbon-design-system/tanstack-carbon#43 (comment)

in the provided stackblitz, we can see the checkbox doesn't seem to update in version 2.30.0, but updates on 2.27.1

Reproduction/example

provided in steps to reproduce

Steps to reproduce

open the examples in both versions
check the check box and click on apply filters
clear the filters and observe the checkbox works as expected in previous version.

v2.27.1 stackblitz (works as expected)
https://stackblitz.com/edit/github-cjs27zds-abtdx5js?file=package.json

v2.30.0 stackblitz (doesn't work as expected)
https://stackblitz.com/edit/github-cjs27zds?file=package.json

also seen in storybook as per this comment #18504 (comment)

Screen.Recording.2025-06-03.at.2.58.09.PM.mov

Suggested Severity

Severity 3 = User can complete task, and/or has a workaround within the user experience of a given component.

Application/PAL

No response

Code of Conduct

Metadata

Metadata

Type

Projects

Status

🚦 In Review

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions