From 6ecd2421cdaa82ec1de05a87e9388c0ee2822d8b Mon Sep 17 00:00:00 2001 From: Giulia Ye Date: Fri, 31 May 2024 18:55:09 +0200 Subject: [PATCH] fix: change input no longer working --- src/lib/pages/page.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/lib/pages/page.ts b/src/lib/pages/page.ts index 71082ad..5055069 100644 --- a/src/lib/pages/page.ts +++ b/src/lib/pages/page.ts @@ -51,7 +51,7 @@ export default abstract class Page { const inputEvent = new Event("input", { bubbles: true }); input.dispatchEvent(inputEvent); - const blurEvent = new Event("blur", { bubbles: true }); + const blurEvent = new Event("focusout", { bubbles: true }); input.dispatchEvent(blurEvent); if (this.debugMode) {