kopia lustrzana https://github.com/shoelace-style/shoelace
Algorithm fix: fill "allElements" with only unique elements to improve performance.
rodzic
153fe15ed3
commit
012206e4d8
|
@ -67,7 +67,7 @@ export function getTabbableBoundary(root: HTMLElement | ShadowRoot) {
|
|||
}
|
||||
}
|
||||
|
||||
[...el.querySelectorAll('*')].forEach((e: HTMLElement) => walk(e));
|
||||
[...el.children].forEach((e: HTMLElement) => walk(e));
|
||||
}
|
||||
|
||||
// Collect all elements including the root
|
||||
|
|
Ładowanie…
Reference in New Issue