diff --git a/projects/cdk/services/scroll.service.ts b/projects/cdk/services/scroll.service.ts index 10d47526eac62..687b8c5fc677c 100644 --- a/projects/cdk/services/scroll.service.ts +++ b/projects/cdk/services/scroll.service.ts @@ -62,8 +62,8 @@ export class TuiScrollService { initialTop + deltaTop * percent, initialLeft + deltaLeft * percent, ]), - endWith<[number, number]>([scrollTop, scrollLeft]), takeUntil(timer(duration)), + endWith<[number, number]>([scrollTop, scrollLeft]), ); return observable.pipe(