publ-echo-test 0.0.246 → 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.
@@ -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
- console.log("wrapperH, tempCompositionH:", wrapperH, tempCompositionH);
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 = tempCompositionH;
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) {
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.247",
4
4
  "private": false,
5
5
  "main": "dist/lib/index.js",
6
6
  "types": "dist/lib/index.d.js",