publ-echo-test 0.0.245 → 0.0.247
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.
@@ -515,10 +515,6 @@ var GridItem = function (_a) {
|
|
515
515
|
dragging: dragging,
|
516
516
|
resizing: resizing,
|
517
517
|
}, colWidth);
|
518
|
-
pos.left = pos.left + 10; // Adjust for margin
|
519
|
-
pos.top = pos.top + 10; // Adjust for margin
|
520
|
-
pos.width = pos.width - 20; // Adjust for margin
|
521
|
-
pos.height = pos.height - 20; // Adjust for margin
|
522
518
|
var child = React.Children.only(children);
|
523
519
|
var newChild = React.cloneElement(child, {
|
524
520
|
key: i,
|
@@ -102,9 +102,13 @@ var Resizable = function (_a) {
|
|
102
102
|
if (contentsWrapper) {
|
103
103
|
var wrapperH = contentsWrapper.clientHeight;
|
104
104
|
var tempCompositionH = oneComposition.clientHeight;
|
105
|
-
|
105
|
+
var CompositionBGwrapperPaddingT = Number(oneComposition.getAttribute("data-wrapper-paddingT"));
|
106
|
+
var CompositionBGwrapperPaddingB = Number(oneComposition.getAttribute("data-wrapper-paddingB"));
|
106
107
|
if (tempCompositionH > wrapperH) {
|
107
|
-
oneCompositionMinHeight =
|
108
|
+
oneCompositionMinHeight =
|
109
|
+
tempCompositionH +
|
110
|
+
CompositionBGwrapperPaddingT +
|
111
|
+
CompositionBGwrapperPaddingB;
|
108
112
|
}
|
109
113
|
var styles = getComputedStyle(target);
|
110
114
|
var paddingL = parseFloat(styles.paddingLeft);
|
@@ -126,6 +130,7 @@ var Resizable = function (_a) {
|
|
126
130
|
minHeight.current = listMinHeight;
|
127
131
|
return;
|
128
132
|
}
|
133
|
+
return;
|
129
134
|
}
|
130
135
|
// target.clientHeight -> 실제 "노드"의 height. (gridItem아닌)
|
131
136
|
if (target.clientHeight > elementRef.current.clientHeight) {
|