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
Issue looks to have been introduced with the fix for #4078. This fix introduced a selector modification which includes .p-datatable-wrapper as seen below:
let selector =`.p-datatable[${attributeSelectorState}] > .p-datatable-wrapper > .p-datatable-table`;
This new selector does not account for when virtual scrollers are enabled as a an additional div with class '.p-virtualscroller' is injected. Possible remediation is to add branching if using a virtual scroller in "/components/lib/datatable/DataTable.js" method "resizeTableCells".
mertsincan
added
Type: Bug
Issue contains a defect related to a specific component.
and removed
Status: Needs Triage
Issue will be reviewed by Core Team and a relevant label will be added as soon as possible
labels
Feb 27, 2023
Describe the bug
Data table columns are not resizable when utilizing virtual scroller.
Reproducer
https://codesandbox.io/s/primereact-demo-forked-wx492m
PrimeReact version
9.2.0
React version
17.x
Language
TypeScript
Build / Runtime
Create React App (CRA)
Browser(s)
No response
Steps to reproduce the behavior
Expected behavior
No response
The text was updated successfully, but these errors were encountered: