[accelerator] auto scroll when clicking on "Accelerate" CTA
This commit is contained in:
		
							parent
							
								
									6e5cfa9bf2
								
							
						
					
					
						commit
						5be5b68213
					
				| @ -223,6 +223,7 @@ export class AccelerateCheckout implements OnInit, OnDestroy { | |||||||
|       this.loadingBtcpayInvoice = true; |       this.loadingBtcpayInvoice = true; | ||||||
|       this.invoice = null; |       this.invoice = null; | ||||||
|       this.requestBTCPayInvoice(); |       this.requestBTCPayInvoice(); | ||||||
|  |       this.scrollToElementWithTimeout('acceleratePreviewAnchor', 'start', 100); | ||||||
|     } else if (this._step === 'cashapp' && this.cashappEnabled) { |     } else if (this._step === 'cashapp' && this.cashappEnabled) { | ||||||
|       this.loadingCashapp = true; |       this.loadingCashapp = true; | ||||||
|       this.setupSquare(); |       this.setupSquare(); | ||||||
|  | |||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user