@antscorp/antsomi-ui 1.3.3-beta.22 → 1.3.3-beta.23

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.
@@ -306,7 +306,7 @@ export const ResizeGrid = props => {
306
306
  // console.log('merge', selectRef.current, selectEndRef.current)
307
307
  const { cell: cellStart, idx: idxStart } = selectRef.current;
308
308
  const { cell: cellEnd, idx: idxEnd, hCells } = selectEndRef.current;
309
- const newChilds = [...gridRef.current.childs];
309
+ const newChilds = JSON.parse(JSON.stringify(gridRef.current.childs));
310
310
  newChilds[idxStart].rowEnd = cellEnd.rowEnd;
311
311
  newChilds[idxStart].colEnd = cellEnd.colEnd;
312
312
  delete newChilds[idxStart].width;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@antscorp/antsomi-ui",
3
- "version": "1.3.3-beta.22",
3
+ "version": "1.3.3-beta.23",
4
4
  "description": "An enterprise-class UI design language and React UI library.",
5
5
  "sideEffects": [
6
6
  "dist/*",