@sendoutcards/quantum-design-ui 1.8.38-alpha.0 → 1.8.38-alpha.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.
- package/dist/index.es.js +2 -0
- package/package.json +1 -1
package/dist/index.es.js
CHANGED
|
@@ -14001,6 +14001,7 @@ var Sheet = function (_a) {
|
|
|
14001
14001
|
sheetHeight = _h[0],
|
|
14002
14002
|
setSheetHeight = _h[1];
|
|
14003
14003
|
console.log(sheetHeight, 'SHEET HEIGHT');
|
|
14004
|
+
console.log('TARGET REF INITIAL', targetRef);
|
|
14004
14005
|
var device = useDeviceSize().device;
|
|
14005
14006
|
var isMobile = device === 'small' || device === 'xSmall' ? true : false;
|
|
14006
14007
|
var sheet = useEntities().sheet;
|
|
@@ -14084,6 +14085,7 @@ var Sheet = function (_a) {
|
|
|
14084
14085
|
};
|
|
14085
14086
|
useEffect(function () {
|
|
14086
14087
|
var _a;
|
|
14088
|
+
console.log('TARGET REF in use effect', targetRef);
|
|
14087
14089
|
if (targetRef.current && sheetHeight !== ((_a = targetRef.current) === null || _a === void 0 ? void 0 : _a.offsetHeight)) {
|
|
14088
14090
|
setSheetHeight(targetRef.current.offsetHeight);
|
|
14089
14091
|
}
|
package/package.json
CHANGED