From 14da1e058fd66f119aba785be3ba95011be33def Mon Sep 17 00:00:00 2001 From: Maksim Ivanov Date: Mon, 29 Jan 2024 12:36:49 +0300 Subject: [PATCH] fix(cdk): `endWith` should be pass after `takeUntil` (#6581) --- projects/cdk/services/scroll.service.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/projects/cdk/services/scroll.service.ts b/projects/cdk/services/scroll.service.ts index 346242b3dd0a..0f46080364b8 100644 --- a/projects/cdk/services/scroll.service.ts +++ b/projects/cdk/services/scroll.service.ts @@ -52,8 +52,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(