publ-echo-test 0.0.226 → 0.0.227

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.
@@ -229,12 +229,13 @@ var GridItem = function (_a) {
229
229
  if (prevH > h) {
230
230
  h = prevH;
231
231
  }
232
+ console.log('prevH:', prevH, 'h:', h, 'prevW:', prevW, 'w:', w);
232
233
  if (prevH === h && prevW === w) {
233
234
  return;
234
235
  }
235
236
  props.onFitToContent &&
236
237
  props.onFitToContent(i, w, h, x, y, { hasPaddingChanged: false });
237
- }, [isSelected, autoResize]);
238
+ }, [isSelected, autoResize, props.onFitToContent]);
238
239
  // const moveDroppingItem = (prevProps: GridItemProps) => {
239
240
  // const { droppingPosition } = props;
240
241
  // if (!droppingPosition) return;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "publ-echo-test",
3
- "version": "0.0.226",
3
+ "version": "0.0.227",
4
4
  "private": false,
5
5
  "main": "dist/lib/index.js",
6
6
  "types": "dist/lib/index.d.js",