likeastore / ngDialog

Modals and popups provider for Angular.js applications
http://likeastore.github.io/ngDialog
3.14k stars 692 forks source link

Hammer JS, tap on close button triggered click event on element behind the dialog box #594

Open nprizal opened 6 years ago

nprizal commented 6 years ago

What version of ng-dialog are you using? 1.4.0

What version of AngularJS are you using? 1.4.12

What browsers are affected? Chrome, (Mobile)

Please provide either a JSFiddle, Plunkr example that replicates the issue

Please describe the issue In mobile with Hammer.js, when I clicked the close button or overlay, the element behind the dialog boxbeing clicked too.

What did you expect to happen? Click event should not be triggered when using Hammer.js

What actually happened? Hammer.js 'tap' event triggered click on element behind the dialog box