ng-click on firing on mobile or tablet devices

前端 未结 3 968
我在风中等你
我在风中等你 2020-12-10 15:33

On page load i have a controller that calls a service and then binds the returned data to some $scope.objects:

app.controller(\"MainController\", function($s         


        
3条回答
  •  春和景丽
    2020-12-10 15:47

    Had a similar issue where the ng-click inside of a ng-repeat would not trigger. I fixed this by adding $event.stopPropagation()

    Ex:

提交回复
热议问题