chore: cleanup

This commit is contained in:
Erik Tiekstra
2024-08-26 08:52:32 +02:00
parent f1242e69e3
commit d1a2175804
45 changed files with 70 additions and 324 deletions

View File

@@ -45,7 +45,6 @@ export function useTrapFocus(opts?: OptionsType) {
const first = tabbableElements[0]
const last = tabbableElements[tabbableElements.length - 1]
console.log(tabbableElements)
const currentActiveElement = document.activeElement
// Scope current tabs to current root element
if (isWithinCurrentElementScope([...tabbableElements, ref.current])) {