v-leaflet LMarker pop-up

Hi,

I’m adding LMarker to the LMap and call method openPopup(). But pop-up is not opened this way (from code) and gets visible only after click on marker.
In example of Matti I see that LMarker has to open pop-up from code, so I can’t get what’s my problem.

Hi,

Do you happen to change the marker at the same time? E.g. setting the popup text. I remember to thought once that there might be an issue due to bit tricky implementation that openPopup might not work in such situation.

I made a test case and there indeed was a bug in such a situation. Now fixed in:
https://github.com/mstahv/v-leaflet/commit/f4ecd36e82d873f646b9aeb8d44e563f2d700b8b

__
m

Thank you!