-
-
Notifications
You must be signed in to change notification settings - Fork 321
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Modal not closing just hiden #214
Comments
And your html button for dismissing should have |
@zupa94 It not helps me. It does works for you ? |
See #225 (comment) |
What does the HTML of your modal look like? Do you have your close actions (X in upper right, close buttons, and background dismissal) wired up to the For the background click dismissal see #225 (comment) |
I am trying to close modal but I am failing to do so. I tried to even trigger modal.element.on() function but it is either not working :( how can I correctly close modal to release page . Currently page is dead/ un clickable. below is my code..
`
(function () {
var app = angular.module("formModule", ['ngRoute','angularModalService']);
app.controller("formController", function($scope,$http,$rootScope,$location,ModalService) {
$scope.BookNow= function()
{
ModalService.showModal({
templateUrl: "views/feature.html",
controller: "featureController"
}).then(function(modal) {
});
});
}
});
app.controller("featureController", function($scope,$rootScope,close) {
$scope.close = function(result) {
close(result,500);}
});
})();
`
The text was updated successfully, but these errors were encountered: