loleaflet/src/layer/tile/TileLayer.js | 4 ++++ 1 file changed, 4 insertions(+)
New commits: commit 1c0fb25e90dda583d5a81bc7c228ad33d1243ddb Author: Jan Holesovsky <ke...@collabora.com> AuthorDate: Fri Jan 17 15:21:36 2020 +0100 Commit: Jan Holesovsky <ke...@collabora.com> CommitDate: Tue Jan 21 12:43:17 2020 +0100 android: When the cell cursor moves, focus the document. This particularly happens when the user has entered something into the formula input bar - after hitting Enter, the focus should return to the sheet. This is consistent with the desktop LibreOffece, where hitting Enter in the formula input bar returns focus to the sheet too. Change-Id: I020e008022e958f471d0cb31a8de986f576ba704 Reviewed-on: https://gerrit.libreoffice.org/c/online/+/86984 Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoff...@gmail.com> Reviewed-by: Michael Meeks <michael.me...@collabora.com> diff --git a/loleaflet/src/layer/tile/TileLayer.js b/loleaflet/src/layer/tile/TileLayer.js index 0d64ded2d..f031a2050 100644 --- a/loleaflet/src/layer/tile/TileLayer.js +++ b/loleaflet/src/layer/tile/TileLayer.js @@ -2838,6 +2838,10 @@ L.TileLayer = L.GridLayer.extend({ this._map.addLayer(this._cellCursorMarker); this._addDropDownMarker(); + + // when the cell cursor is moving, the user is in the document, + // and the focus should leave the cell input bar + this._map.fire('editorgotfocus'); } else if (this._cellCursorMarker) { this._map.removeLayer(this._cellCursorMarker); _______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits