publ-echo-test 0.0.218 → 0.0.219

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.
@@ -112,6 +112,9 @@ var GridItem = function (_a) {
112
112
  observer.observe(targetNode, config);
113
113
  // 정리 함수에서 MutationObserver 해제
114
114
  return function () {
115
+ if (targetNode.id === 'contentslist-box') {
116
+ return;
117
+ }
115
118
  observer.disconnect();
116
119
  };
117
120
  }, [autoResize, isSelected, isDragging, isResizing, props.w, props.h, x, y]);
@@ -140,6 +143,7 @@ var GridItem = function (_a) {
140
143
  var hasPaddingChanged = false;
141
144
  var minWidth = Number(mutation.target.dataset.minWidth);
142
145
  var minHeight = Number(mutation.target.dataset.minHeight);
146
+ console.log('minWidth', minWidth, 'minHeight', minHeight);
143
147
  var height = isSizeChanged
144
148
  ? mutation.target.parentNode.clientHeight
145
149
  : mutation.target.clientHeight;
@@ -186,11 +190,14 @@ var GridItem = function (_a) {
186
190
  // MutationObserver 인스턴스 생성
187
191
  var observer = new MutationObserver(callback);
188
192
  // 관찰할 DOM 변이 설정
189
- var config = { characterData: true, attributes: true, subtree: true };
193
+ var config = { attributes: true, subtree: true };
190
194
  // 대상 노드와 설정으로 관찰 시작
191
195
  observer.observe(targetNode, config);
192
196
  // 정리 함수에서 MutationObserver 해제
193
197
  return function () {
198
+ if (targetNode.id !== 'contentslist-box') {
199
+ return;
200
+ }
194
201
  observer.disconnect();
195
202
  };
196
203
  }, [autoResize, isSelected, isDragging, isResizing, props.w, props.h, x, y]);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "publ-echo-test",
3
- "version": "0.0.218",
3
+ "version": "0.0.219",
4
4
  "private": false,
5
5
  "main": "dist/lib/index.js",
6
6
  "types": "dist/lib/index.d.js",