Skip to content

Commit

Permalink
Fix issue where last selected is set to first item on scroll
Browse files Browse the repository at this point in the history
  • Loading branch information
shadowbas authored and bas080 committed Jan 10, 2025
1 parent a5adb03 commit e32d65c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/app/app.component.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1510,7 +1510,7 @@ export class AppComponent implements OnInit, AfterViewInit, CanvasTableSelectLis

}, start, end, this.rows))

this.lastCheckedRow = this.rows[0]
this.lastCheckedRow = this.lastCheckedRow ?? this.rows[0]
}

rangeSelectFrom(from: number, to: number, check: boolean) {
Expand Down

0 comments on commit e32d65c

Please sign in to comment.