Skip to content

Commit

Permalink
fix(grids) Show Controls And Update Grids With Generated Content (#6553)
Browse files Browse the repository at this point in the history
- Simplified `isGridCell`.
- Implemented `findOriginalGrid` utility function.
- Added update to `layoutSystemForChildrenInherited` to
`fillLayoutSystemForChildrenFromAncestors`.
- `useGridData` now uses `findOriginalGrid` to look up the hierarchy to
find the grid we're interested in.
- `resizeGridStrategy` now uses `findOriginalGrid` to find the correct
element to update.
- DOM walker defaults `layoutSystemForChildrenInherited` to false.
  • Loading branch information
seanparsons authored and liady committed Dec 13, 2024
1 parent 271e532 commit a01c97d
Show file tree
Hide file tree
Showing 11 changed files with 419 additions and 16 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -223,6 +223,7 @@ Object {
"justifyContent": null,
"justifySelf": null,
"layoutSystemForChildren": null,
"layoutSystemForChildrenInherited": false,
"margin": Object {},
"naturalHeight": null,
"naturalWidth": null,
Expand Down Expand Up @@ -373,6 +374,7 @@ Object {
"justifyContent": null,
"justifySelf": null,
"layoutSystemForChildren": null,
"layoutSystemForChildrenInherited": false,
"margin": Object {},
"naturalHeight": null,
"naturalWidth": null,
Expand Down
Loading

0 comments on commit a01c97d

Please sign in to comment.