Merge pull request #3300 from mempool/simon/fix-transaction-expression-changed-error

Fixes changed after checked error in transaction page
This commit is contained in:
softsimon 2023-03-11 10:01:58 +09:00 committed by GitHub
commit 74c95bfdf5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -496,7 +496,9 @@ export class TransactionComponent implements OnInit, AfterViewInit, OnDestroy {
@HostListener('window:resize', ['$event'])
setGraphSize(): void {
if (this.graphContainer) {
this.graphWidth = this.graphContainer.nativeElement.clientWidth;
setTimeout(() => {
this.graphWidth = this.graphContainer.nativeElement.clientWidth;
}, 1);
}
}