We have this same bug on our app when making an autofill by scrolling down relatively too long in the column as shown in this gif : https://i.imgur.com/cKc7KZU.gif.
The following error is being thrown :
Uncaught TypeError: Cannot read properties of null (reading 'classList')
at e.addOrRemoveCssClass (ag-grid-community.cjs.min.js:200:5026)
at Object.addOrRemoveCssClass (cellComp.js:233:79)
at eval (ag-grid-enterprise.cjs.min.js:12:1020839)
at Array.forEach (<anonymous>)
at t.clearMarkedPath (ag-grid-enterprise.cjs.min.js:12:1020748)
at t.markPathFrom (ag-grid-enterprise.cjs.min.js:12:1021180)
at t.onDrag (ag-grid-enterprise.cjs.min.js:12:1016588)
at Object.onDragging (ag-grid-enterprise.cjs.min.js:12:1010675)
at o.onCommonMove (ag-grid-community.cjs.min.js:251:4071)
at o.onMouseMove (ag-grid-community.cjs.min.js:251:4393)
I could reproduce it in this plunker : https://plnkr.co/edit/IMGds4leuHbSg18V?open=index.jsx