@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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@social-mail/social-mail-client",
3
- "version": "1.8.350",
3
+ "version": "1.8.351",
4
4
  "description": "",
5
5
  "main": "index.js",
6
6
  "scripts": {
@@ -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
- e.focus();
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
  };