Skip to content

Commit

Permalink
Remove comments
Browse files Browse the repository at this point in the history
  • Loading branch information
ciampo committed Jun 28, 2023
1 parent fbeed05 commit 6e7c669
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions packages/compose/src/hooks/use-focus-outside/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -90,11 +90,6 @@ export default function useFocusOutside(
} | null >( null );
const pollingIntervalId = useRef< number | undefined >();

// Thoughts:
// - it needs to always stop when component unmounted
// - it needs to work when resuming focus from another doc and clicking
// immediately on the backdrop

// Sometimes the blur event is not reliable, for example when focus moves
// to an iframe inside the wrapper. In these scenarios, we resort to polling,
// and we explicitly check if focus has indeed moved outside the wrapper.
Expand Down

0 comments on commit 6e7c669

Please sign in to comment.