DataTable: Error when 'virtualScrollerOptions.showLoader' + 'dataKey' are enabled #3803
Labels
Type: Bug
Issue contains a defect related to a specific component.
Milestone
Describe the bug
when grid has
virtualScrollerOptions.showLoader
set totrue
and adataKey
set, it throws error on scroll:Cannot read properties of undefined (reading 'id')
Reproducer
https://codesandbox.io/s/react-typescript-forked-vib9wr?file=/src/App.tsx
PrimeReact version
8.7.3
React version
18.x
Language
TypeScript
Build / Runtime
Create React App (CRA)
Browser(s)
Edge
Steps to reproduce the behavior
Expected behavior
it shouldnt break
The text was updated successfully, but these errors were encountered: