@stubber/form-fields 2.0.17 → 2.0.18

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.
@@ -98,7 +98,7 @@ let triggerEl;
98
98
  let portalTarget = document.body;
99
99
  onMount(() => {
100
100
  const root = triggerEl?.getRootNode();
101
- portalTarget = root instanceof ShadowRoot ? root.host : document.body;
101
+ portalTarget = root instanceof ShadowRoot ? root : document.body;
102
102
  console.log("portalTarget", portalTarget);
103
103
  });
104
104
  </script>
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@stubber/form-fields",
3
- "version": "2.0.17",
3
+ "version": "2.0.18",
4
4
  "description": "An automatic form builder based on field specifications",
5
5
  "keywords": [
6
6
  "components",