mirror of
https://github.com/signalapp/Signal-Desktop.git
synced 2026-04-24 10:28:03 +01:00
Focus-trap: Use allowOutsideClick where appropriate
This commit is contained in:
@@ -58,7 +58,12 @@ export const ModalHost = React.memo(
|
||||
|
||||
return root
|
||||
? createPortal(
|
||||
<FocusTrap>
|
||||
<FocusTrap
|
||||
focusTrapOptions={{
|
||||
// This is alright because the overlay covers the entire screen
|
||||
allowOutsideClick: false,
|
||||
}}
|
||||
>
|
||||
<div
|
||||
role="presentation"
|
||||
className={classNames(
|
||||
|
||||
Reference in New Issue
Block a user