Skip to content

Commit

Permalink
remove the stop propagation call
Browse files Browse the repository at this point in the history
  • Loading branch information
gwwar committed Jun 29, 2021
1 parent 6d5a131 commit 1f7c577
Showing 1 changed file with 0 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -163,7 +163,6 @@ export default function useTabNav() {
target === focusCaptureBeforeRef.current ||
target === focusCaptureAfterRef.current
) {
event.stopPropagation();
event.preventDefault();
target.focus( { preventScroll: true } );
}
Expand Down

0 comments on commit 1f7c577

Please sign in to comment.