diff --git a/frontend/react/src/map/map.ts b/frontend/react/src/map/map.ts index b26e9b1e..d5f33550 100644 --- a/frontend/react/src/map/map.ts +++ b/frontend/react/src/map/map.ts @@ -880,7 +880,7 @@ export class Map extends L.Map { } } } else if (this.#state === CONTEXT_ACTION) { - if (e.originalEvent.buttons === 1) { + if (e.type === 'touchstart' || e.originalEvent.buttons === 1) { if (this.#contextAction !== null) this.executeContextAction(null, pressLocation); else this.setState(IDLE); } else if (e.originalEvent.buttons === 2) {