@lvce-editor/renderer-process 30.44.2 → 30.44.3
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.
|
@@ -8317,6 +8317,7 @@ const openExternal = () => {
|
|
|
8317
8317
|
send$1('SimpleBrowser.openExternal');
|
|
8318
8318
|
};
|
|
8319
8319
|
|
|
8320
|
+
const simpleBrowserAddressName = 'simple-browser-address';
|
|
8320
8321
|
const handleInput$2 = event => {
|
|
8321
8322
|
const {
|
|
8322
8323
|
target
|
|
@@ -8353,10 +8354,13 @@ const handleBlur$1 = event => {
|
|
|
8353
8354
|
relatedTarget,
|
|
8354
8355
|
target
|
|
8355
8356
|
} = event;
|
|
8356
|
-
|
|
8357
|
+
setTimeout(() => {
|
|
8357
8358
|
if (!target.isConnected) {
|
|
8358
8359
|
return;
|
|
8359
8360
|
}
|
|
8361
|
+
if (target.ownerDocument.activeElement?.getAttribute('name') === simpleBrowserAddressName) {
|
|
8362
|
+
return;
|
|
8363
|
+
}
|
|
8360
8364
|
target.setSelectionRange(0, 0);
|
|
8361
8365
|
if (!relatedTarget?.closest?.('.SimpleBrowserSuggestions')) {
|
|
8362
8366
|
closeSuggestions();
|