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 Oct 17, 2024
1 parent 2be4c7d commit 07d1bbd
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 07d1bbd

Please sign in to comment.