diff --git a/web/client/components/map/openlayers/BoxSelectionSupport.jsx b/web/client/components/map/openlayers/BoxSelectionSupport.jsx index 63a467ddd8..66c3f82ad0 100644 --- a/web/client/components/map/openlayers/BoxSelectionSupport.jsx +++ b/web/client/components/map/openlayers/BoxSelectionSupport.jsx @@ -34,8 +34,8 @@ const BoxSelectionSupport = (props) => { onBoxEnd({ boxExtent: dragBox.getGeometry().getExtent(), modifiers: { - ctrl: event.mapBrowserEvent.pointerEvent.ctrlKey, - metaKey: event.mapBrowserEvent.pointerEvent.metaKey // MAC OS + ctrl: event.mapBrowserEvent.originalEvent.ctrlKey, + metaKey: event.mapBrowserEvent.originalEvent.metaKey // MAC OS } }); });