Search code examples
ionic-frameworkleafletangular-leaflet-directive

Why does the click event listener break after the first click?


I'm using the angular-leaflet-directive within Ionic Framework. I set up a listener on a map marker and it works on the first click after the page is loaded. After that, though, it stops responding to the left mouse button (but confusingly still responds to the right mouse button).

Here's a demo. Any idea what's wrong?


Solution

  • I've got the same issue, use data-tap-disabled="true" in the tag leaflet worked to me.