Confirm Alert is never dismissed and hangs UI

Following the documentation here confirm popup, I have used exactly the same code for generating a confirm popup for confirmation before deleting user’s files. The confirm popup opens up successfully but fails to dismiss upon clicking on Cancel, does not respond to the OK button and hangs the app.

This is my ionic info:
Ionic CLI Version: 2.0.0-beta.37
Ionic App Lib Version: 2.0.0-beta.20
ios-deploy version: 1.8.3
ios-sim version: 5.0.4
OS: Mac OS X El Capitan
Node Version: v5.8.0

What do you have in your handlers? Can you paste your code?

Are you using ionic beta 11?

Check your package.json file, do you have “ionic-angular”: “^2.0.0-beta.11” ?

There were some breaking changes with beta 11 and alertcontrollers are working differently.

In my handler, I am using a simple console log to check if the confirm alert controller is working or not, but it isn’t working.
Yes, I am using “ionic-angular”: "2.0.0-beta.11"
Could you please explain the issue and share some pointers to resolve the same?

I’ve made many different alerts and everything is working on my side. It’s hard to guess the issue without some code.

Are you getting any console error? What do you have in the command line? You need to provide more info.