loleaflet/src/map/Map.js |    1 -
 1 file changed, 1 deletion(-)

New commits:
commit 950b60719abefeca07c650a7add6dda2f7ae0aeb
Author: Pranav Kant <pran...@collabora.co.uk>
Date:   Wed Mar 28 22:31:57 2018 +0530

    Fix for incorrect map positioning
    
    Apparently, blurring and focussing the text area again causes incorrect
    map positioning.
    
    2 page document
    click into last line of second page
    scroll to first line of first page and click there
    see the incorrect map positioning
    
    Change-Id: Ib26fb67d17b16efebbbe18a2c022b18d592a4868
    Reviewed-on: https://gerrit.libreoffice.org/52025
    Reviewed-by: Jan Holesovsky <ke...@collabora.com>
    Tested-by: Jan Holesovsky <ke...@collabora.com>

diff --git a/loleaflet/src/map/Map.js b/loleaflet/src/map/Map.js
index a30b2d507..6f61d266e 100644
--- a/loleaflet/src/map/Map.js
+++ b/loleaflet/src/map/Map.js
@@ -1057,7 +1057,6 @@ L.Map = L.Evented.extend({
                // Calling from some other place with no real 'click' event 
doesn't work
                if (type === 'click') {
                        if (this._permission === 'edit') {
-                               this._textArea.blur();
                                this._textArea.focus();
                        }
 
_______________________________________________
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits

Reply via email to