@overlastic/vue2 0.8.0 → 0.8.1

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.
@@ -6171,7 +6171,8 @@ var OverlaysVue = (() => {
6171
6171
  const deferred = createDeferred();
6172
6172
  const name = defineName(options3.id, options3.autoIncrement);
6173
6173
  const index2 = getIndex(options3.id);
6174
- const container = globalContainer ? defineGlobalElement(name, options3.root) : document.body;
6174
+ const root = globalContainer ? options3.root : document.body;
6175
+ const container = defineGlobalElement(name, root);
6175
6176
  mount(instance, props2, Object.assign(options3, {
6176
6177
  position: context2.position,
6177
6178
  id: name,
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@overlastic/vue2",
3
3
  "type": "module",
4
- "version": "0.8.0",
4
+ "version": "0.8.1",
5
5
  "license": "MIT",
6
6
  "homepage": "https://github.com/hairyf/overlastic#readme",
7
7
  "repository": {
@@ -30,7 +30,7 @@
30
30
  "dependencies": {
31
31
  "mitt": "^3.0.1",
32
32
  "pascal-case": "3.1.2",
33
- "@overlastic/core": "^0.8.0"
33
+ "@overlastic/core": "^0.8.1"
34
34
  },
35
35
  "devDependencies": {
36
36
  "vue": "^2.6"