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

(cherry picked from commit cda6733)
  • Loading branch information
mountiny authored and OSBotify committed Jun 14, 2024
1 parent c31ccfe commit d164817
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 d164817

Please sign in to comment.