Skip to content

Commit

Permalink
Merge pull request #43743 from software-mansion-labs/dont-highlight-f…
Browse files Browse the repository at this point in the history
…irst-element-in-modal

[CP Staging] Disable initial focus in modals
  • Loading branch information
mountiny authored Jun 14, 2024
2 parents bdb9789 + 91fecc1 commit cda6733
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/FocusTrap/FocusTrapForModal/index.web.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ function FocusTrapForModal({children, active}: FocusTrapForModalProps) {
focusTrapOptions={{
trapStack: sharedTrapStack,
allowOutsideClick: true,
fallbackFocus: document.body,
initialFocus: false,
}}
>
{children}
Expand Down

0 comments on commit cda6733

Please sign in to comment.