79767292

Date: 2025-09-17 12:05:58
Score: 0.5
Natty:
Report link

This issue may happen because the table rows aren’t fully rendered yet when ngAfterViewInit runs.
A quick test to confirm is wrapping your scroll call in a setTimeout

ngAfterViewInit() {
  if (this.initialRowId) {
    setTimeout(() => this.scrollToRow(this.initialRowId));
  }
}
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: Mario Linares