@godscene/visualizer 1.7.12 → 1.7.13

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.
@@ -10,7 +10,7 @@
10
10
  width: 320px;
11
11
  max-width: min(320px, 100vw - 32px);
12
12
  height: 400px;
13
- position: fixed;
13
+ position: absolute;
14
14
  box-shadow: 0 8px 24px rgba(0, 0, 0, .12);
15
15
  }
16
16
 
@@ -190,7 +190,7 @@ const HistorySelector = ({ onSelect, history, currentType, trigger, popupPlaceme
190
190
  })
191
191
  ]
192
192
  })
193
- }), document.body)
193
+ }), document.querySelector('.model-root-container') || document.body)
194
194
  ]
195
195
  });
196
196
  };
@@ -10,7 +10,7 @@
10
10
  width: 320px;
11
11
  max-width: min(320px, 100vw - 32px);
12
12
  height: 400px;
13
- position: fixed;
13
+ position: absolute;
14
14
  box-shadow: 0 8px 24px rgba(0, 0, 0, .12);
15
15
  }
16
16
 
@@ -230,7 +230,7 @@ const HistorySelector = ({ onSelect, history, currentType, trigger, popupPlaceme
230
230
  })
231
231
  ]
232
232
  })
233
- }), document.body)
233
+ }), document.querySelector('.model-root-container') || document.body)
234
234
  ]
235
235
  });
236
236
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@godscene/visualizer",
3
- "version": "1.7.12",
3
+ "version": "1.7.13",
4
4
  "repository": "https://github.com/web-infra-dev/midscene",
5
5
  "homepage": "https://midscenejs.com/",
6
6
  "types": "./dist/types/index.d.ts",
@@ -66,10 +66,10 @@
66
66
  "antd": "^5.21.6",
67
67
  "buffer": "6.0.3",
68
68
  "dayjs": "^1.11.11",
69
- "@godscene/web": "1.7.12",
70
- "@godscene/playground": "1.7.12",
71
- "@godscene/core": "1.7.12",
72
- "@godscene/shared": "1.7.12"
69
+ "@godscene/core": "1.7.13",
70
+ "@godscene/playground": "1.7.13",
71
+ "@godscene/shared": "1.7.13",
72
+ "@godscene/web": "1.7.13"
73
73
  },
74
74
  "license": "MIT",
75
75
  "scripts": {