@social-mail/social-mail-client 1.8.350 → 1.8.351
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/site-editor/editor/ui/SelectionUI.d.ts.map +1 -1
- package/dist/site-editor/editor/ui/SelectionUI.js +8 -2
- package/dist/site-editor/editor/ui/SelectionUI.js.map +1 -1
- package/dist/site-editor-app/SiteEditorApp.pack.js +8 -2
- package/dist/site-editor-app/SiteEditorApp.pack.js.map +1 -1
- package/dist/site-editor-app/SiteEditorApp.pack.min.js +1 -1
- package/dist/site-editor-app/SiteEditorApp.pack.min.js.map +1 -1
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/package.json +1 -1
- package/src/site-editor/editor/ui/SelectionUI.tsx +6 -1
package/package.json
CHANGED
|
@@ -368,9 +368,14 @@ const eventKeyDown = (editor: HtmlPageEditor, e: KeyboardEvent) => {
|
|
|
368
368
|
|
|
369
369
|
};
|
|
370
370
|
|
|
371
|
+
const previousFocus = Symbol("previousFocus");
|
|
372
|
+
|
|
371
373
|
const updateFocus = (e, b) => {
|
|
372
374
|
if (b) {
|
|
373
|
-
|
|
375
|
+
const { activeElement } = document;
|
|
376
|
+
if(activeElement && !activeElement.hasAttribute("data-property-value-editor")) {
|
|
377
|
+
e.focus();
|
|
378
|
+
}
|
|
374
379
|
}
|
|
375
380
|
return b;
|
|
376
381
|
};
|