angularjs - Leaflet click event not working on iPad -


i'm using angular leaflet directive. working on laptop. on ipad, double click working click event not working @ all. have 1 event handler click doesn't triggered.

    $scope.events = {       map: {         enable: ['mousedown', 'dblclick', 'click'],         logic: 'broadcast'       }     };      $scope.$on('leafletdirectivemap.mousedown', function(event) {       alert('click');     });      $scope.$on('leafletdirectivemap.click', function(event) {       alert('click');     });            $scope.$on('leafletdirectivemap.dblclick', function(event) {       alert('dbclick');     }); 

double click event gets triggered other ones not. can try debug this?

checkout https://github.com/angular/material/issues/1300. having below code fixed issue us,

$mdgestureprovider.skipclickhijack();


Comments

Popular posts from this blog

c++ - Difference between pre and post decrement in recursive function argument -

php - Nothing but 'run(); ' when browsing to my local project, how do I fix this? -

php - How can I echo out this array? -