summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAshod Nakashian <ashod.nakashian@collabora.co.uk>2020-02-25 20:51:58 -0500
committerAshod Nakashian <ashnakash@gmail.com>2020-02-26 02:57:33 +0100
commit23f484813116a9e130e697708dbb4621da163712 (patch)
treed2ea58ac74e3041f9876cbffe2df60484a9fc2a0
parentleaflet: don't lose focus when the dialog cursor is hiden (diff)
downloadonline-23f484813116a9e130e697708dbb4621da163712.tar.gz
online-23f484813116a9e130e697708dbb4621da163712.zip
leaflet: don't hide the keyboard when changing selection
We now don't change the keyboard state when the user drags the selection markers. Change-Id: Ic3dec8011808df8d1028e1925190854a50588e1c Reviewed-on: https://gerrit.libreoffice.org/c/online/+/89492 Tested-by: Ashod Nakashian <ashnakash@gmail.com> Reviewed-by: Ashod Nakashian <ashnakash@gmail.com>
-rw-r--r--loleaflet/src/layer/tile/TileLayer.js1
1 files changed, 0 insertions, 1 deletions
diff --git a/loleaflet/src/layer/tile/TileLayer.js b/loleaflet/src/layer/tile/TileLayer.js
index 6f7c924ebf..c38e132d02 100644
--- a/loleaflet/src/layer/tile/TileLayer.js
+++ b/loleaflet/src/layer/tile/TileLayer.js
@@ -2623,7 +2623,6 @@ L.TileLayer = L.GridLayer.extend({
}
if (e.type === 'dragend') {
e.target.isDragged = false;
- this._map.focus();
this._map.fire('scrollvelocity', {vx: 0, vy: 0});
}