jameskleeh / angular-confirm

Confirmation modal dialog for AngularJS
Apache License 2.0
150 stars 75 forks source link

Event propagation stop #80

Open neemanjabu opened 7 years ago

neemanjabu commented 7 years ago

Event propagation can not be stopped. If $event.stopPropagation() is called in ng-click expression, it is not called right on click but upon dialog is closed and at that point event is already propagated.

Current workaround: wrap your element with element which has ng-click="$event.stopPropagation()".