Fix nested grids not laying out properly

This commit is contained in:
Andrew Kingston 2024-08-01 12:09:44 +01:00
parent 64c182df0f
commit 1eedb9241b
No known key found for this signature in database
1 changed files with 0 additions and 4 deletions

View File

@ -58,10 +58,6 @@ export const isGridEvent = e => {
// Determines whether a DOM element is an immediate child of a grid
export const isGridChild = node => {
// Ignore grid itself
if (node?.classList?.contains("grid")) {
return false
}
return node
?.closest(".component")
?.parentNode.closest(".component")