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

Fix rbf autoscroll bug on mobile
This commit is contained in:
softsimon authored and GitHub committed 2024-04-24 10:34:34 +07:00
commit d89ba767f1
1 file changed
+1 -1
@@ -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(); });
}
}