Fix nested grids not laying out properly
This commit is contained in:
parent
64c182df0f
commit
1eedb9241b
|
@ -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")
|
||||
|
|
Loading…
Reference in New Issue