diff --git a/apps/browser/src/autofill/background/overlay.background.spec.ts b/apps/browser/src/autofill/background/overlay.background.spec.ts index c592c492bd..4c843b4774 100644 --- a/apps/browser/src/autofill/background/overlay.background.spec.ts +++ b/apps/browser/src/autofill/background/overlay.background.spec.ts @@ -515,7 +515,7 @@ describe("OverlayBackground", () => { async function flushUpdateInlineMenuPromises() { await flushOverlayRepositionPromises(); await flushPromises(); - jest.advanceTimersByTime(150); + jest.advanceTimersByTime(250); await flushPromises(); } diff --git a/apps/browser/src/autofill/background/overlay.background.ts b/apps/browser/src/autofill/background/overlay.background.ts index 5fca147d33..18fe6bc524 100644 --- a/apps/browser/src/autofill/background/overlay.background.ts +++ b/apps/browser/src/autofill/background/overlay.background.ts @@ -163,7 +163,7 @@ export class OverlayBackground implements OverlayBackgroundInterface { private initOverlayEventObservables() { this.repositionInlineMenuSubject .pipe( - debounceTime(800), + debounceTime(950), switchMap((sender) => this.repositionInlineMenu(sender)), ) .subscribe(); @@ -176,7 +176,7 @@ export class OverlayBackground implements OverlayBackgroundInterface { // Debounce used to update inline menu position merge( - this.startUpdateInlineMenuPositionSubject.pipe(debounceTime(150)), + this.startUpdateInlineMenuPositionSubject.pipe(debounceTime(250)), this.cancelUpdateInlineMenuPositionSubject, ) .pipe(switchMap((sender) => this.updateInlineMenuPositionAfterRepositionEvent(sender)))