We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a650637 commit 90d6fceCopy full SHA for 90d6fce
app/react/Map/LMap.tsx
@@ -80,7 +80,7 @@ const LMap = ({
80
};
81
82
const shouldScroll: boolean = props.renderPopupInfo || props.onClick !== undefined;
83
- const enableMapGestures = (e: { originalEvent: { preventDefault: () => void; }; }) => {
+ const enableMapGestures = () => {
84
if (!map.scrollWheelZoom.enabled()) {
85
if (shouldScroll) {
86
map.scrollWheelZoom.enable();
0 commit comments