{"action":"opened","issue":{"url":"https://api.github.com/repos/Leaflet/Leaflet/issues/3994","labels_url":"https://api.github.com/repos/Leaflet/Leaflet/issues/3994/labels{/name}","comments_url":"https://api.github.com/repos/Leaflet/Leaflet/issues/3994/comments","events_url":"https://api.github.com/repos/Leaflet/Leaflet/issues/3994/events","html_url":"https://github.com/Leaflet/Leaflet/issues/3994","id":115755030,"number":3994,"title":"Allow user NOT to have the popup fadeOut animation on closepopup (v1 beta2)","user":{"login":"remilev","id":11862317,"avatar_url":"https://avatars.githubusercontent.com/u/11862317?v=3","gravatar_id":"","url":"https://api.github.com/users/remilev","html_url":"https://github.com/remilev","followers_url":"https://api.github.com/users/remilev/followers","following_url":"https://api.github.com/users/remilev/following{/other_user}","gists_url":"https://api.github.com/users/remilev/gists{/gist_id}","starred_url":"https://api.github.com/users/remilev/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/remilev/subscriptions","organizations_url":"https://api.github.com/users/remilev/orgs","repos_url":"https://api.github.com/users/remilev/repos","events_url":"https://api.github.com/users/remilev/events{/privacy}","received_events_url":"https://api.github.com/users/remilev/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-11-08T19:53:50Z","updated_at":"2015-11-08T19:53:50Z","closed_at":null,"body":"The new leaflet v1 bring the fadeOut animation when closing popup. It is great, but :\r\n\r\nIt would be great to have an option to let user choose to have or NOT this fadeOut. \r\nExplaination : I run some functions map.on.popupopen to style in real time the popup wich is opening (different style for different places on earth). And with the new fadeout now included, the styles I add are already visible during fadeOut of the CLOSING popup (before the new popup is opened).\r\n\r\nhttp://jsfiddle.net/Pe5xU/268/\r\n\r\nI may set a timeOut to wait for the fadeOut to finish, but I think It would be great to let us choose to have/not have fadeIn/fadeOut of popups independently of each other rather than the global option fadeAnimation true/false.\r\n\r\nEven without \"my\" little problem, I like to see the popup disappear without fade... :)"}}