You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Expected behavior
window.onpopstate should not be called when a popup is closed (click on x on top-right of the popup), at least this is the behavior I would expect, if I am wrong let me know
Current behavior
window.onpopstate is called when popup is closed.
Steps to reproduce
https://leafletjs.com/examples/quick-start/example.html
add
window.onpopstate = function(event) { console.log(event); console.log("onpopstate"); };
see attached
Expected behavior
window.onpopstate should not be called when a popup is closed (click on x on top-right of the popup), at least this is the behavior I would expect, if I am wrong let me know
Current behavior
window.onpopstate is called when popup is closed.
Environment
Please create an example using https://leafletjs.com/edit.html or any other jsfiddle-like site.
https://plnkr.co/edit/jZYUUuMVaGkmreIt
The text was updated successfully, but these errors were encountered: