You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When using the DataTable component with a state change, the bodyCell does not re-render while the headerCell re-renders correctly. This issue started occurring from version 10.9.5 onwards, while it worked correctly in version 10.9.4.
Describe the bug
When using the DataTable component with a state change, the
bodyCelldoes not re-render while theheaderCellre-renders correctly. This issue started occurring from version 10.9.5 onwards, while it worked correctly in version 10.9.4.Reproducer
https://stackblitz.com/edit/9dqyrn-xeh4vxhg?file=src%2FApp.jsx
System Information
System: OS: Linux 5.0 undefined CPU: (8) x64 Intel(R) Core(TM) i9-9880H CPU @ 2.30GHz Memory: 0 Bytes / 0 Bytes Shell: 1.0 - /bin/jsh Binaries: Node: 20.19.1 - /usr/local/bin/node Yarn: 1.22.19 - /usr/local/bin/yarn npm: 10.8.2 - /usr/local/bin/npm pnpm: 8.15.6 - /usr/local/bin/pnpm npmPackages: primereact: 10.9.6 => 10.9.6 react: 18.2.0 => 18.2.0Steps to reproduce the behavior
active)headerCellre-renders (logs to console), whilebodyCelldoes notExpected behavior
The
bodyCellshould re-render and update its styling (shadow effect) when scrolling horizontally, just like theheaderCelldoes.