@lvce-editor/renderer-process 30.81.5 → 30.81.6

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.
@@ -10052,7 +10052,9 @@ const focusSelector = (viewletId, selector) => {
10052
10052
  }
10053
10053
  if ($Element && $Element instanceof HTMLElement) {
10054
10054
  if ($Element.isConnected) {
10055
- $Element.focus();
10055
+ $Element.focus({
10056
+ preventScroll: window.parent !== window
10057
+ });
10056
10058
  } else {
10057
10059
  focusCallback.id = viewletId;
10058
10060
  focusCallback.selector = selector;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lvce-editor/renderer-process",
3
- "version": "30.81.5",
3
+ "version": "30.81.6",
4
4
  "keywords": [
5
5
  "lvce-editor",
6
6
  "renderer-process"