[accelerator] auto scroll when clicking on "Accelerate" CTA

This commit is contained in:
nymkappa 2024-10-19 20:47:22 +09:00
parent 6e5cfa9bf2
commit 5be5b68213
No known key found for this signature in database
GPG Key ID: 92358FC85D9645DE

View File

@ -223,6 +223,7 @@ export class AccelerateCheckout implements OnInit, OnDestroy {
this.loadingBtcpayInvoice = true;
this.invoice = null;
this.requestBTCPayInvoice();
this.scrollToElementWithTimeout('acceleratePreviewAnchor', 'start', 100);
} else if (this._step === 'cashapp' && this.cashappEnabled) {
this.loadingCashapp = true;
this.setupSquare();