Skip to content

Commit

Permalink
Adding a log to better debug the result in the webviewer
Browse files Browse the repository at this point in the history
  • Loading branch information
dandara-navarro committed Jul 17, 2024
1 parent 7148bcc commit f038f47
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/hooks/useFocusTrap.ts
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,7 @@ export function useFocusTrap<T extends HTMLElement>(locked = false, options: Use
let target = e.target;
if (e.composed) {
target = e.composedPath()[0];
console.log({ target });
}
return target;
};
Expand Down

0 comments on commit f038f47

Please sign in to comment.