publ-echo 0.0.91 → 0.0.92
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.
|
@@ -56,12 +56,16 @@ var GridItem = function (_a) {
|
|
|
56
56
|
var height = isCharacterChanged ? mutation.target.parentNode.clientHeight : mutation.target.clientHeight;
|
|
57
57
|
var width = targetNode.clientWidth;
|
|
58
58
|
if (!isCharacterChanged && mutation.target instanceof Element) {
|
|
59
|
-
var
|
|
60
|
-
var
|
|
61
|
-
if (
|
|
59
|
+
var styles_1 = getComputedStyle(mutation.target);
|
|
60
|
+
var minWidth_1 = parseFloat(styles_1.minWidth);
|
|
61
|
+
if (minWidth_1 > width) {
|
|
62
62
|
keepWidth = false;
|
|
63
63
|
}
|
|
64
64
|
}
|
|
65
|
+
var styles = getComputedStyle(mutation.target);
|
|
66
|
+
var minWidth = parseFloat(styles.minWidth);
|
|
67
|
+
console.log('out loop - width', width);
|
|
68
|
+
console.log('minwidth', styles.minWidth);
|
|
65
69
|
var prevW = props.w;
|
|
66
70
|
var prevH = props.h;
|
|
67
71
|
var _a = calcWH(getPositionParams(), {
|