Add comment to map menu

This commit is contained in:
Mitchell McCaffrey 2020-06-27 10:25:31 +10:00
parent 1da7ee9e95
commit c6bea2a573

View File

@ -79,6 +79,7 @@ function MapMenu({
}}
contentRef={handleModalContent}
>
{/* Stop keyboard events when modal is open to prevent shortcuts from triggering */}
<div
onKeyDown={(e) => e.stopPropagation()}
onKeyUp={(e) => e.stopPropagation()}