Merge pull request #5011 from mempool/mononaut/rbf-mobile-autoscroll-bug

Fix rbf autoscroll bug on mobile
This commit is contained in:
softsimon
2024-04-24 10:34:34 +07:00
committed by GitHub

View File

@@ -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.previousValue !== changes.txid.currentValue) {
setTimeout(() => { this.scrollToSelected(); });
}
}