Problem with $ionicPopup buttons


#1

It seems to work fairly well, but there is one big issue in focusInput. It will focus on inputs marked as autofocus, but it will not focus by default on the default button. This means that when an alert shows up the “enter action” will not by default dispose the alert. I was trying to create a workaround, but the access to the alert is not leaking out of the show, alert or confirm message and there are not broadcast messages for show or hide action either. The only way to fix this would be to alter the source code of ionic.js :frowning: .