mirror of
https://github.com/mempool/mempool.git
synced 2026-08-18 13:08:44 +02:00
Merge pull request #5011 from mempool/mononaut/rbf-mobile-autoscroll-bug
Fix rbf autoscroll bug on mobile
This commit is contained in:
commit
d89ba767f1
1 changed files with 1 additions and 1 deletions
|
|
@ -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(); });
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue