@webspatial/react-sdk 0.1.6 → 0.1.7
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/dist/default/index.js +4 -2
- package/dist/default/index.js.map +1 -1
- package/dist/web/index.js +4 -2
- package/dist/web/index.js.map +1 -1
- package/package.json +2 -2
package/dist/default/index.js
CHANGED
|
@@ -865,7 +865,8 @@ function renderJSXPortalInstance(inProps, inheritedPortalStyle, className) {
|
|
|
865
865
|
marginTop: "0px",
|
|
866
866
|
marginBottom: "0px",
|
|
867
867
|
borderRadius: "0px",
|
|
868
|
-
overflow: ""
|
|
868
|
+
overflow: "",
|
|
869
|
+
display: "block"
|
|
869
870
|
};
|
|
870
871
|
const style = {
|
|
871
872
|
...inStyle,
|
|
@@ -1222,9 +1223,10 @@ function PortalInstance(inProps) {
|
|
|
1222
1223
|
className
|
|
1223
1224
|
);
|
|
1224
1225
|
const needRenderPlaceHolder = isSubPortal && inheritedPortalStyle.position !== "absolute" && inheritedPortalStyle.position !== "fixed";
|
|
1226
|
+
const El = props.El;
|
|
1225
1227
|
return /* @__PURE__ */ jsxs(SpatialWindowManagerContext.Provider, { value: spatialWindowManager, children: [
|
|
1226
1228
|
needRenderPlaceHolder && /* @__PURE__ */ jsx2(
|
|
1227
|
-
|
|
1229
|
+
El,
|
|
1228
1230
|
{
|
|
1229
1231
|
className,
|
|
1230
1232
|
"data-subportal-spatialid": spatialId,
|