Skip to content

Commit f55ba3d

Browse files
author
Sine Jespersen
committed
add allowOutsideClick to focustrap
1 parent 27361d1 commit f55ba3d

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

src/components/points/PointOverlay.jsx

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,11 @@ function PointOverlay({ point: { name, subtitles, mediaEmbedCode, id }, toggleAc
4646
if (!active) return null;
4747

4848
return (
49-
<FocusTrap>
49+
<FocusTrap
50+
focusTrapOptions={{
51+
allowOutsideClick: true,
52+
}}
53+
>
5054
<section
5155
className={`${
5256
fullScreen

0 commit comments

Comments
 (0)