[Bug]: getRowProps
onClick
properties do not work
#18173
Labels
component: data-table
package: @carbon/react
@carbon/react
role: dev 🤖
severity: 3
https://ibm.biz/carbon-severity
type: bug 🐛
Package
@carbon/react
Browser
No response
Package version
1.67.1
React version
No response
Description
getRowProps
onClick
properties do not work.What's the purpose of the
onClick
ingetRowProps
? Was it mistakenly added as a property in the object, or does functionality need to be added to call it when the row is clicked?Reproduction/example
https://stackblitz.com/edit/github-mpxygv?file=src%2FApp.tsx
Steps to reproduce
Click a row in the table in the reproduction and see that nothing happens.
If this change is made in the code in the reproduction, the
onClick
works.Suggested Severity
Severity 3 = User can complete task, and/or has a workaround within the user experience of a given component.
Application/PAL
DataPower
Code of Conduct
The text was updated successfully, but these errors were encountered: