publ-echo-test 0.0.264 → 0.0.265
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.
@@ -118,7 +118,7 @@ var Resizable = function (_a) {
|
|
118
118
|
return;
|
119
119
|
}
|
120
120
|
setTimeout(function () {
|
121
|
-
var _a
|
121
|
+
var _a;
|
122
122
|
var placeholder = document.querySelector(".placeholder");
|
123
123
|
if (!placeholder) {
|
124
124
|
return;
|
@@ -147,10 +147,12 @@ var Resizable = function (_a) {
|
|
147
147
|
if (contentsWrapper) {
|
148
148
|
var wrapperH = contentsWrapper.clientHeight;
|
149
149
|
var tempCompositionH = oneComposition.clientHeight;
|
150
|
-
console.log("tempCompositionH", tempCompositionH);
|
151
|
-
console.log("parentH", (_b = oneComposition.parentElement) === null || _b === void 0 ? void 0 : _b.clientHeight);
|
152
150
|
var CompositionBGwrapperPaddingT = Number(oneComposition.getAttribute("data-wrapper-paddingT"));
|
153
151
|
var CompositionBGwrapperPaddingB = Number(oneComposition.getAttribute("data-wrapper-paddingB"));
|
152
|
+
if (wrapperH > tempCompositionH) {
|
153
|
+
minHeight.current = 0;
|
154
|
+
console.log("wrapper H > tempCompositionH");
|
155
|
+
}
|
154
156
|
if (tempCompositionH > wrapperH) {
|
155
157
|
var oneCompositionMinHeight = tempCompositionH +
|
156
158
|
CompositionBGwrapperPaddingT +
|
@@ -223,6 +225,7 @@ var Resizable = function (_a) {
|
|
223
225
|
height = Math.min(maxConstraints[1], height);
|
224
226
|
}
|
225
227
|
slack.current = [slackW + (oldW - width), slackH + (oldH - height)];
|
228
|
+
console.log("minH", minHeight.current);
|
226
229
|
return [width, height];
|
227
230
|
};
|
228
231
|
var checkTopLeft = function (deltaX, deltaY, top, left, width, height, handleAxis) {
|