loleaflet/src/layer/marker/ClipboardContainer.js | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-)
New commits: commit 92d49d542ce3548bf89028e367a085e9fe5ee57f Author: Marco Cecchetti <mrcek...@gmail.com> AuthorDate: Fri Jun 21 12:11:07 2019 +0200 Commit: Michael Meeks <michael.me...@collabora.com> CommitDate: Thu Oct 3 10:42:16 2019 +0100 loleaflet: focus issue: disable select call for the clipboard text area The L.ClipboardContainer.select call causes the text area to grab focus. Since it is a source of possible focus lost issues (like the search input field) we disable it as a temporary workaround. Change-Id: Idb39dc27ab3ca641b0ca8020e8018265b752921f diff --git a/loleaflet/src/layer/marker/ClipboardContainer.js b/loleaflet/src/layer/marker/ClipboardContainer.js index 9c39ef9ec..ff8c69c39 100644 --- a/loleaflet/src/layer/marker/ClipboardContainer.js +++ b/loleaflet/src/layer/marker/ClipboardContainer.js @@ -84,7 +84,10 @@ L.ClipboardContainer = L.Layer.extend({ setValue: function(val) { this._textArea.innerHTML = val; - this.select(); + // the select call causes the text area to grab focus + // since it is a source of possible focus lost issues (like the search input field) + // we disable it as a temporary workaround + //this.select(); }, setLatLng: function (latlng) { _______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits