From e38f64e0192cc102786fd6b1cd0068595770fc41 Mon Sep 17 00:00:00 2001 From: Miodec Date: Wed, 20 Mar 2024 15:45:36 +0100 Subject: [PATCH] chore: use after animation to avoid animation issues --- frontend/src/ts/modals/quote-submit.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/frontend/src/ts/modals/quote-submit.ts b/frontend/src/ts/modals/quote-submit.ts index e7877779e..8740c9401 100644 --- a/frontend/src/ts/modals/quote-submit.ts +++ b/frontend/src/ts/modals/quote-submit.ts @@ -52,7 +52,7 @@ export async function show(showOptions: ShowOptions): Promise { void modal.show({ ...showOptions, focusFirstInput: true, - beforeAnimation: async () => { + afterAnimation: async () => { CaptchaController.render( document.querySelector("#quoteSubmitModal .g-recaptcha") as HTMLElement, "submitQuote"