Comparing version 7.34.3 to 7.34.4
@@ -339,3 +339,3 @@ import _defineProperty from "@babel/runtime/helpers/esm/defineProperty"; | ||
var mergedWidth = fullTableRef.current ? fullTableRef.current.offsetWidth : width; | ||
if (useInternalHooks && getContainerWidth) { | ||
if (useInternalHooks && getContainerWidth && fullTableRef.current) { | ||
mergedWidth = getContainerWidth(fullTableRef.current, mergedWidth) || mergedWidth; | ||
@@ -521,3 +521,3 @@ } | ||
ref: scrollSummaryRef | ||
}), renderFixedFooterTable), isSticky && scrollBodyRef.current instanceof Element && /*#__PURE__*/React.createElement(StickyScrollBar, { | ||
}), renderFixedFooterTable), isSticky && scrollBodyRef.current && scrollBodyRef.current instanceof Element && /*#__PURE__*/React.createElement(StickyScrollBar, { | ||
ref: stickyRef, | ||
@@ -524,0 +524,0 @@ offsetScroll: offsetScroll, |
@@ -351,3 +351,3 @@ "use strict"; | ||
var mergedWidth = fullTableRef.current ? fullTableRef.current.offsetWidth : width; | ||
if (useInternalHooks && getContainerWidth) { | ||
if (useInternalHooks && getContainerWidth && fullTableRef.current) { | ||
mergedWidth = getContainerWidth(fullTableRef.current, mergedWidth) || mergedWidth; | ||
@@ -533,3 +533,3 @@ } | ||
ref: scrollSummaryRef | ||
}), renderFixedFooterTable), isSticky && scrollBodyRef.current instanceof Element && /*#__PURE__*/React.createElement(_stickyScrollBar.default, { | ||
}), renderFixedFooterTable), isSticky && scrollBodyRef.current && scrollBodyRef.current instanceof Element && /*#__PURE__*/React.createElement(_stickyScrollBar.default, { | ||
ref: stickyRef, | ||
@@ -536,0 +536,0 @@ offsetScroll: offsetScroll, |
{ | ||
"name": "rc-table", | ||
"version": "7.34.3", | ||
"version": "7.34.4", | ||
"description": "table ui component for react", | ||
@@ -5,0 +5,0 @@ "engines": { |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
395563