Merge pull request #4922 from mempool/mononaut/actually-fix-sticky-button

Actually fix sticky button
This commit is contained in:
wiz authored and GitHub committed 2024-04-08 21:32:28 +09:00
commit b35422ff9f
1 file changed
+1 -1
@@ -398,7 +398,7 @@ export class AcceleratePreviewComponent implements OnInit, OnDestroy, OnChanges
@HostListener('window:scroll', ['$event']) // for window scroll events
onScroll() {
if (this.estimate && this.user && !this.cashappCTA?.nativeElement) {
if (this.estimate && !this.cashappCTA?.nativeElement) {
setTimeout(() => {
this.onScroll();
}, 200);