Skip to content

Commit

Permalink
fix: update fallback focus on overlay (#90)
Browse files Browse the repository at this point in the history
  • Loading branch information
emilyjablonski authored Jun 21, 2024
1 parent 97c890a commit 613db68
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/overlays/Overlay.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -121,6 +121,7 @@ const Overlay = (props: OverlayProps) => {
focusTrapOptions={{
allowOutsideClick: true,
initialFocus: `#${props.ariaLabelledBy || uniqueFocusId}`,
fallbackFocus: `#${uniqueFocusId}`,
}}
>
<div
Expand Down

0 comments on commit 613db68

Please sign in to comment.