From 31c008afa57e03b50e9fe104a83a898a0f88796d Mon Sep 17 00:00:00 2001 From: Mononaut Date: Mon, 22 Apr 2024 21:52:48 +0000 Subject: [PATCH] Fix rbf autoscroll bug on mobile --- .../src/app/components/rbf-timeline/rbf-timeline.component.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/frontend/src/app/components/rbf-timeline/rbf-timeline.component.ts b/frontend/src/app/components/rbf-timeline/rbf-timeline.component.ts index 687a7dbfd..21a6d1ede 100644 --- a/frontend/src/app/components/rbf-timeline/rbf-timeline.component.ts +++ b/frontend/src/app/components/rbf-timeline/rbf-timeline.component.ts @@ -51,7 +51,7 @@ export class RbfTimelineComponent implements OnInit, OnChanges { ngOnChanges(changes): void { this.rows = this.buildTimelines(this.replacements); - if (changes.txid) { + if (changes.txid &&!changes.txid.firstChange && changes.txid.previousVaue !== changes.txid.currentValue) { setTimeout(() => { this.scrollToSelected(); }); } }