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:
parent
246c0eef18
commit
0dc49d2de3
1 changed files with 1 additions and 0 deletions
|
@ -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.
|
||||
|
||||
|
|
Loading…
Reference in a new issue