Skip to content

Commit f038f47

Browse files
Adding a log to better debug the result in the webviewer
1 parent 7148bcc commit f038f47

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/hooks/useFocusTrap.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -63,6 +63,7 @@ export function useFocusTrap<T extends HTMLElement>(locked = false, options: Use
6363
let target = e.target;
6464
if (e.composed) {
6565
target = e.composedPath()[0];
66+
console.log({ target });
6667
}
6768
return target;
6869
};

0 commit comments

Comments
 (0)