leaflet-responsive-popup
leaflet-responsive-popup copied to clipboard
Popup on opening is not aligned with the marker using react
Versions that i'm using.
- leaflet version: 1.6.0
- leaflet-responsive-popup: 0.6.4
- react-leaftlet: 2.6.3
Including your code breaks the alignment of the popup with the marker both vertically and horizontally.
Here is a demo where you can see the problem.
You can adjust using the offset using the plugin option, maybe some css rule from leaflet.css is clashing, you can inspect it. I use it in React and it's working fine.