leaflet-responsive-popup
leaflet-responsive-popup copied to clipboard
Close button is malfunctioning and redirect browser to #close
I've notices issues when users press the close button they will be redirected to anchor #close. Based on used some application routers this will led to issues without real requirement. From my understanding of the code this is unnecessary as the close button event will be catched without relations to the anchor.
closeButton.href = '#close';
The code is taken from Leaflet https://github.com/Leaflet/Leaflet/blob/v1.8.0/src/layer/Popup.js#L203
So, I think you should submit the issue there first.
This plugin only modifies the positioning of the popup, the rest follows the original L.Popup() code
I am currently struggling with that one, I think it may be related somehow by propagation