Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Ticking checkbox also triggers event listener of data table #11691

Open
2 tasks done
T-Y-i opened this issue Apr 2, 2024 · 0 comments
Open
2 tasks done

Ticking checkbox also triggers event listener of data table #11691

T-Y-i opened this issue Apr 2, 2024 · 0 comments
Labels
bug Something isn't working dev Needs some dev work

Comments

@T-Y-i
Copy link

T-Y-i commented Apr 2, 2024

Description

Web component: when the default checkbox is ticked, a cds-checkbox-changed event is triggered. This is the same event listened by data table (since data table uses checkboxes for row selection). This will trigger the data table's header (it gets hidden) if checkboxes are used within a data table, even if there is no row selection involved.

Component(s) impacted

Web components of data-table and checkbox

Browser

Chrome

Carbon for IBM.com version

9.8.0

Severity

Severity 3 = The problem is visible or noticeable to users but does not impede the usability or functionality. Affects minor functionality, has a workaround.

Application/website

IBM WatsonX

Package

@carbon/web-components

CodeSandbox example

NA

Steps to reproduce the issue (if applicable)

No response

Release date (if applicable)

No response

Code of Conduct

@T-Y-i T-Y-i added bug Something isn't working dev Needs some dev work labels Apr 2, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working dev Needs some dev work
Projects
Status: No status
Development

No branches or pull requests

1 participant