leaflet-responsive-popup icon indicating copy to clipboard operation
leaflet-responsive-popup copied to clipboard

Popup on opening is not aligned with the marker using react

Open jacobnuno opened this issue 4 years ago • 1 comments

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.

Captura de Pantalla 2020-04-01 a la(s) 19 06 47

Captura de Pantalla 2020-04-01 a la(s) 23 58 13

Here is a demo where you can see the problem.

jacobnuno avatar Apr 02 '20 05:04 jacobnuno

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.

hexadeciman avatar Jan 11 '21 14:01 hexadeciman