shlomiassaf / ngrid

A angular grid for the enterprise
https://shlomiassaf.github.io/ngrid
MIT License
240 stars 39 forks source link

Undefined rowContext on scroll and cell focus is not correct #278

Open sheemakeezhanjilil opened 1 year ago

sheemakeezhanjilil commented 1 year ago

The cell focus was working correctly until Angular version 12, after upgrading to angular 14 , it keeps on jumping to wrong cell and on cell click gives an error for undefined RowContext. The focus is correct for the first search, but as soon as the datasource changes, it gets messed up.

"@angular/animations": "^14.2.12",
"@angular/cdk": "^14.2.7",
"@angular/cdk-experimental": "^14.2.7",
"npm": "^7.20.5",
"@pebula/ngrid": "^5.0.0",
"@pebula/ngrid-material": "^5.0.0",
"@pebula/utils": "^1.0.2",
"typescript": "4.6.4",
"rxjs": "^6.6.7",

On updating the typescript to 4.7 and rxjs version to 7 ,row click gives error for focusChanged has prev as undefined and the focus is still messed up for any change in datasource after the first load.