When a popup is opened with Leaflet a nice fade in animation is played. When you close the popup however it abruptly disappears. Does anyone know how to play a fade out animation when closing the popup?

I am using Leaflet 0.7.3.

  • 1
    It is included for the coming Leaflet release, 0.8: github.com/Leaflet/Leaflet/blob/master/… However I haven't been able to locate the commit where its added... – Sidney Gijzen Jan 7 '15 at 11:12
  • Great, thank you for the link. I think I'll just wait for the official release then. Apart from potential API breaking changes do you know if the current 0.8 is stable enough to use in a production environment? – Mathyn Jan 7 '15 at 12:33
  • You're welcome. I don't know whether 0.8 is already stable enough to use in production. – Sidney Gijzen Jan 7 '15 at 13:05

Popup fade out animation is included for the coming 0.8 release.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.