Actually fix sticky button
This commit is contained in:
		
							parent
							
								
									f7e6fa026d
								
							
						
					
					
						commit
						b679581cf2
					
				| @ -398,7 +398,7 @@ export class AcceleratePreviewComponent implements OnInit, OnDestroy, OnChanges | |||||||
| 
 | 
 | ||||||
|   @HostListener('window:scroll', ['$event']) // for window scroll events
 |   @HostListener('window:scroll', ['$event']) // for window scroll events
 | ||||||
|   onScroll() { |   onScroll() { | ||||||
|     if (this.estimate && this.user && !this.cashappCTA?.nativeElement) { |     if (this.estimate && !this.cashappCTA?.nativeElement) { | ||||||
|       setTimeout(() => { |       setTimeout(() => { | ||||||
|         this.onScroll(); |         this.onScroll(); | ||||||
|       }, 200); |       }, 200); | ||||||
|  | |||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user