From 5caa88caea873baf421734d3531e16ba28b071c7 Mon Sep 17 00:00:00 2001 From: Petar Petrov Date: Mon, 9 Dec 2024 16:09:58 +0200 Subject: [PATCH] add back comment --- src/dialogs/make-dialog-manager.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/src/dialogs/make-dialog-manager.ts b/src/dialogs/make-dialog-manager.ts index 80555b7dc610..1c720eb9bb37 100644 --- a/src/dialogs/make-dialog-manager.ts +++ b/src/dialogs/make-dialog-manager.ts @@ -82,6 +82,7 @@ export const showDialog = async ( }; } + // Get the focus targets after the dialog closes LOADED[dialogTag].closedFocusTargets = ancestorsWithProperty( deepActiveElement(), FOCUS_TARGET