Datatable: Horizontal scroll reset if item selected #6117
Labels
Status: Needs Triage
Issue will be reviewed by Core Team and a relevant label will be added as soon as possible
Type: Bug
Issue contains a defect related to a specific component.
Describe the bug
If using a Datatable in with
selectionMode="multiple"
causes horizontal "scrolljump" if an Item is selected.Reproducer
https://stackblitz.com/edit/vitejs-vite-t4glxh?file=package-lock.json,src%2FApp.jsx
PrimeReact version
10.5.1
React version
18.x
Language
ES6
Build / Runtime
Vite
Browser(s)
No response
Steps to reproduce the behavior
=> The table resets the horizontal scroll back to completely left
Expected behavior
The Scrollposition stays the same even on select as it is on vertical scroll
The text was updated successfully, but these errors were encountered: