fix: do not try to animate the panel

The panel inherits from the classic Popup, but given it's fixed on
the UI, it does not make sense to try to move it, and it some
situation there is a race condition that make Leaflet try to animate
but this fails
This commit is contained in:
Yohan Boniface 2024-02-14 17:54:48 +01:00
parent 246c0eef18
commit 0dc49d2de3

View file

@ -96,6 +96,7 @@ U.Popup.Panel = U.Popup.extend({
_updateLayout: function () {},
_updatePosition: function () {},
_adjustPan: function () {},
_animateZoom: function () {},
})
U.Popup.SimplePanel = U.Popup.Panel // Retrocompat.