DataTable: using a checkbox column causes abnormal behavior in the horizontal scrollbar. #4362
Labels
Resolution: Duplicate
Issue has already been reported or a pull request related to same issue has already been submitted
Describe the bug
In the DataTable component's Row Selection checkbox example, even when setting
selectionMode
to{null}
, it appears that clicking on a row still triggers changes in the checkbox cell. As a result, when there's a horizontal scrollbar in the DataTable, clicking a row causes the scrollbar to reset to its starting position.Reproducer
https://codesandbox.io/s/rvjdmq?file=/package.json
PrimeReact version
9.3.1
React version
17.x
Language
ES6
Build / Runtime
Create React App (CRA)
Browser(s)
Chrome 112.0.5615.137
Steps to reproduce the behavior
Expected behavior
No response
The text was updated successfully, but these errors were encountered: