chore: use after animation to avoid animation issues

This commit is contained in:
Miodec 2024-03-20 15:45:36 +01:00
parent 33229ce057
commit e38f64e019

View file

@ -52,7 +52,7 @@ export async function show(showOptions: ShowOptions): Promise<void> {
void modal.show({
...showOptions,
focusFirstInput: true,
beforeAnimation: async () => {
afterAnimation: async () => {
CaptchaController.render(
document.querySelector("#quoteSubmitModal .g-recaptcha") as HTMLElement,
"submitQuote"