pb-sxp-ui 1.19.12 → 1.19.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.
@@ -235,7 +235,7 @@ const SxpPageRender = ({ globalConfig, descStyle, containerHeight = window.inner
235
235
  };
236
236
  const height = useMemo(() => {
237
237
  return visibleHeight - minusHeight - tagHeight - getHeightWithSafeArea2();
238
- }, [minusHeight, visibleHeight, tagHeight, getHeightWithSafeArea2]);
238
+ }, [minusHeight, visibleHeight, tagHeight, getHeightWithSafeArea2, containerHeight]);
239
239
  const visList = useMemo(() => {
240
240
  var _a;
241
241
  const list = activeIndex === 0 && !waterFallData && !isEditor && !isDiyH5
@@ -238,7 +238,7 @@ const SxpPageRender = ({ globalConfig, descStyle, containerHeight = window.inner
238
238
  };
239
239
  const height = (0, react_1.useMemo)(() => {
240
240
  return visibleHeight - minusHeight - tagHeight - getHeightWithSafeArea2();
241
- }, [minusHeight, visibleHeight, tagHeight, getHeightWithSafeArea2]);
241
+ }, [minusHeight, visibleHeight, tagHeight, getHeightWithSafeArea2, containerHeight]);
242
242
  const visList = (0, react_1.useMemo)(() => {
243
243
  var _a;
244
244
  const list = activeIndex === 0 && !waterFallData && !isEditor && !isDiyH5
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "pb-sxp-ui",
3
- "version": "1.19.12",
3
+ "version": "1.19.13",
4
4
  "description": "React enterprise-class UI components",
5
5
  "main": "dist/index.cjs",
6
6
  "module": "dist/index.js",