publ-echo-test 0.0.220 → 0.0.221
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.
@@ -154,6 +154,8 @@ var GridItem = function (_a) {
|
|
154
154
|
if (!isSizeChanged && mutation.target instanceof Element) {
|
155
155
|
var styles = getComputedStyle(mutation.target);
|
156
156
|
var minWidth_1 = parseFloat(styles.minWidth);
|
157
|
+
console.log('minWidth', minWidth_1, 'width', width);
|
158
|
+
console.log('minHeight', minHeight, 'height', height);
|
157
159
|
if (minWidth_1 > width) {
|
158
160
|
keepWidth = false;
|
159
161
|
}
|
@@ -176,8 +178,11 @@ var GridItem = function (_a) {
|
|
176
178
|
width: minWidth,
|
177
179
|
height: minHeight,
|
178
180
|
}, x, y, 'e', props.w, props.h, false), w_2 = _a.w, h_2 = _a.h;
|
179
|
-
if (keepWidth) {
|
180
|
-
|
181
|
+
// if (keepWidth) {
|
182
|
+
// w = prevW;
|
183
|
+
// }
|
184
|
+
if (minWidth > w_2) {
|
185
|
+
w_2 = minWidth;
|
181
186
|
}
|
182
187
|
if (prevH > h_2) {
|
183
188
|
h_2 = prevH;
|