From 6c0da0d0a47f0c018aedcd6bae8c7318ca23ec27 Mon Sep 17 00:00:00 2001 From: Anna Iosif Date: Fri, 18 Oct 2024 10:53:13 +0200 Subject: [PATCH] Reseting scrollCount after routerEvent --- apps/web-mzima-client/src/app/feed/feed.component.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/web-mzima-client/src/app/feed/feed.component.ts b/apps/web-mzima-client/src/app/feed/feed.component.ts index b3060b44a0..d784369102 100644 --- a/apps/web-mzima-client/src/app/feed/feed.component.ts +++ b/apps/web-mzima-client/src/app/feed/feed.component.ts @@ -213,7 +213,7 @@ export class FeedComponent extends MainViewComponent implements OnInit, OnDestro this.urlAfterInteractionWithFilters = ''; //----------------------------------- - this.activeCard.scrollCountHandler({ task: 'increment' }); + this.activeCard.scrollCountHandler({ task: 'reset' }); this.masonryUpdateOnModeSwitch({ userEvent: this.userEvent });