@lvce-editor/renderer-process 30.43.0 → 30.43.1

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.
@@ -8608,8 +8608,14 @@ const handleFocusOut = event => {
8608
8608
  }
8609
8609
  const uid = fromEvent(event);
8610
8610
  if (!relatedTarget && target && isInsideTitleBarMenu(target)) {
8611
+ if (!target.isConnected) {
8612
+ return;
8613
+ }
8611
8614
  queueMicrotask(() => {
8612
- if (target.isConnected) {
8615
+ const {
8616
+ activeElement
8617
+ } = document;
8618
+ if (!activeElement || !isInsideTitleBarMenu(activeElement)) {
8613
8619
  closeMenu$1(uid);
8614
8620
  }
8615
8621
  });
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lvce-editor/renderer-process",
3
- "version": "30.43.0",
3
+ "version": "30.43.1",
4
4
  "keywords": [
5
5
  "lvce-editor",
6
6
  "renderer-process"