Skip to content

Commit

Permalink
add allowOutsideClick to focustrap
Browse files Browse the repository at this point in the history
  • Loading branch information
sinejespersen committed Dec 18, 2024
1 parent 27361d1 commit f55ba3d
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion src/components/points/PointOverlay.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,11 @@ function PointOverlay({ point: { name, subtitles, mediaEmbedCode, id }, toggleAc
if (!active) return null;

return (
<FocusTrap>
<FocusTrap
focusTrapOptions={{
allowOutsideClick: true,
}}
>
<section
className={`${
fullScreen
Expand Down

0 comments on commit f55ba3d

Please sign in to comment.