publ-echo-test 0.0.246 → 0.0.248

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.
@@ -83,6 +83,7 @@ var Resizable = function (_a) {
83
83
  }
84
84
  if (target.clientHeight) {
85
85
  minHeight.current = target.clientHeight;
86
+ console.log("2", minHeight.current);
86
87
  }
87
88
  if (isContentsList && oneComposition) {
88
89
  // NOTE: 이건 좀 확인 필요. 근데 지금스팩엔 이게 맞아보임 (gap때문)
@@ -102,9 +103,13 @@ var Resizable = function (_a) {
102
103
  if (contentsWrapper) {
103
104
  var wrapperH = contentsWrapper.clientHeight;
104
105
  var tempCompositionH = oneComposition.clientHeight;
105
- console.log("wrapperH, tempCompositionH:", wrapperH, tempCompositionH);
106
+ var CompositionBGwrapperPaddingT = Number(oneComposition.getAttribute("data-wrapper-paddingT"));
107
+ var CompositionBGwrapperPaddingB = Number(oneComposition.getAttribute("data-wrapper-paddingB"));
106
108
  if (tempCompositionH > wrapperH) {
107
- oneCompositionMinHeight = tempCompositionH;
109
+ oneCompositionMinHeight =
110
+ tempCompositionH +
111
+ CompositionBGwrapperPaddingT +
112
+ CompositionBGwrapperPaddingB;
108
113
  }
109
114
  var styles = getComputedStyle(target);
110
115
  var paddingL = parseFloat(styles.paddingLeft);
@@ -124,9 +129,12 @@ var Resizable = function (_a) {
124
129
  insetBottom;
125
130
  minWidth.current = listMinWidth;
126
131
  minHeight.current = listMinHeight;
132
+ console.log("3", minHeight.current);
127
133
  return;
128
134
  }
135
+ return;
129
136
  }
137
+ console.log("fallthrough,");
130
138
  // target.clientHeight -> 실제 "노드"의 height. (gridItem아닌)
131
139
  if (target.clientHeight > elementRef.current.clientHeight) {
132
140
  extendedHeightRef.current = target.clientHeight;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "publ-echo-test",
3
- "version": "0.0.246",
3
+ "version": "0.0.248",
4
4
  "private": false,
5
5
  "main": "dist/lib/index.js",
6
6
  "types": "dist/lib/index.d.js",