We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 0684b79 commit 0220cc4Copy full SHA for 0220cc4
ui/src/components/map/stops/CreateStopMarker.tsx
@@ -36,6 +36,7 @@ export const CreateStopMarker = ({ onCursorMove }: Props): JSX.Element => {
36
37
const detectKeyDown = (e: KeyboardEvent) => {
38
if (e.key === 'Escape') {
39
+ e.preventDefault();
40
dispatch(resetEnabledModesAction());
41
}
42
};
0 commit comments