@lvce-editor/renderer-process 30.43.0 → 30.43.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -8609,7 +8609,10 @@ const handleFocusOut = event => {
|
|
|
8609
8609
|
const uid = fromEvent(event);
|
|
8610
8610
|
if (!relatedTarget && target && isInsideTitleBarMenu(target)) {
|
|
8611
8611
|
queueMicrotask(() => {
|
|
8612
|
-
|
|
8612
|
+
const {
|
|
8613
|
+
activeElement
|
|
8614
|
+
} = document;
|
|
8615
|
+
if (!activeElement || !isInsideTitleBarMenu(activeElement)) {
|
|
8613
8616
|
closeMenu$1(uid);
|
|
8614
8617
|
}
|
|
8615
8618
|
});
|