summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--loleaflet/src/map/Map.js1
1 files changed, 1 insertions, 0 deletions
diff --git a/loleaflet/src/map/Map.js b/loleaflet/src/map/Map.js
index 38f0803dc..34f3cc9a7 100644
--- a/loleaflet/src/map/Map.js
+++ b/loleaflet/src/map/Map.js
@@ -1415,6 +1415,7 @@ L.Map = L.Evented.extend({
} else if (acceptInput !== undefined) {
// A dialog has the focus.
this.focus(acceptInput);
+ this._textInput.hideCursor(); // The cursor is in the dialog.
}
},