@lvce-editor/renderer-process 30.44.0 → 30.44.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.
- package/dist/rendererProcessMain.js +10 -4
- package/package.json +1 -1
|
@@ -8345,12 +8345,18 @@ const handleFocus$1 = event => {
|
|
|
8345
8345
|
};
|
|
8346
8346
|
const handleBlur$1 = event => {
|
|
8347
8347
|
const {
|
|
8348
|
+
relatedTarget,
|
|
8348
8349
|
target
|
|
8349
8350
|
} = event;
|
|
8350
|
-
|
|
8351
|
-
|
|
8352
|
-
|
|
8353
|
-
|
|
8351
|
+
queueMicrotask(() => {
|
|
8352
|
+
if (!target.isConnected) {
|
|
8353
|
+
return;
|
|
8354
|
+
}
|
|
8355
|
+
target.setSelectionRange(0, 0);
|
|
8356
|
+
if (!relatedTarget?.closest?.('.SimpleBrowserSuggestions')) {
|
|
8357
|
+
closeSuggestions();
|
|
8358
|
+
}
|
|
8359
|
+
});
|
|
8354
8360
|
};
|
|
8355
8361
|
const handleClickForward = () => {
|
|
8356
8362
|
forward();
|