Fix nested grids not laying out properly
This commit is contained in:
parent
64c182df0f
commit
1eedb9241b
1 changed files with 0 additions and 4 deletions
|
@ -58,10 +58,6 @@ export const isGridEvent = e => {
|
||||||
|
|
||||||
// Determines whether a DOM element is an immediate child of a grid
|
// Determines whether a DOM element is an immediate child of a grid
|
||||||
export const isGridChild = node => {
|
export const isGridChild = node => {
|
||||||
// Ignore grid itself
|
|
||||||
if (node?.classList?.contains("grid")) {
|
|
||||||
return false
|
|
||||||
}
|
|
||||||
return node
|
return node
|
||||||
?.closest(".component")
|
?.closest(".component")
|
||||||
?.parentNode.closest(".component")
|
?.parentNode.closest(".component")
|
||||||
|
|
Loading…
Reference in a new issue