Moved shortcut prevention to all modals
This commit is contained in:
@@ -79,7 +79,12 @@ function MapMenu({
|
||||
}}
|
||||
contentRef={handleModalContent}
|
||||
>
|
||||
{children}
|
||||
<div
|
||||
onKeyDown={(e) => e.stopPropagation()}
|
||||
onKeyUp={(e) => e.stopPropagation()}
|
||||
>
|
||||
{children}
|
||||
</div>
|
||||
</Modal>
|
||||
);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user