From 946b6d807dc7625b02d4bd48de8da8682e3a3584 Mon Sep 17 00:00:00 2001 From: Anton Tananaev Date: Tue, 17 Aug 2021 22:58:12 -0700 Subject: Fix focus issue (fix #776) --- web/app/view/map/BaseMap.js | 1 + 1 file changed, 1 insertion(+) (limited to 'web/app/view') diff --git a/web/app/view/map/BaseMap.js b/web/app/view/map/BaseMap.js index 0107acdc..b7c27ce1 100644 --- a/web/app/view/map/BaseMap.js +++ b/web/app/view/map/BaseMap.js @@ -183,6 +183,7 @@ Ext.define('Traccar.view.map.BaseMap', { if (typeof target === 'string') { target = Ext.get(target).dom; } + target.focus(); this.map.on('pointermove', function (e) { var hit = this.forEachFeatureAtPixel(e.pixel, function () { -- cgit v1.2.3