RED-10517: disabled scrolling for select all annotations.
This commit is contained in:
parent
9ef4ba4af5
commit
b7e1e5764e
@ -310,7 +310,11 @@ export class FileWorkloadComponent extends AutoUnsubscribe implements OnInit, On
|
|||||||
@Debounce()
|
@Debounce()
|
||||||
scrollToSelectedAnnotation(): void {
|
scrollToSelectedAnnotation(): void {
|
||||||
const annotationsElement = untracked(this._annotationsElement);
|
const annotationsElement = untracked(this._annotationsElement);
|
||||||
if (this.listingService.selected.length === 0 || !annotationsElement) {
|
if (
|
||||||
|
this.listingService.selected.length === 0 ||
|
||||||
|
!annotationsElement ||
|
||||||
|
this.activeAnnotations().length === this.listingService.selected.length
|
||||||
|
) {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
const elements: HTMLElement[] = annotationsElement.nativeElement.querySelectorAll(
|
const elements: HTMLElement[] = annotationsElement.nativeElement.querySelectorAll(
|
||||||
|
|||||||
@ -1 +1 @@
|
|||||||
Subproject commit 72e760fff8bc1adb72969b1e6e6971cdb88d55fe
|
Subproject commit cbdfcf4d8fb3a63417b61604496d8fa81bdea671
|
||||||
Loading…
x
Reference in New Issue
Block a user